From 6573578ef194f3b13f63e6d775bff6b2774e28c2 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 5 Apr 2023 17:56:16 +0200 Subject: [PATCH] Refs #3211 -- Add code comment on ical organizer field --- src/pretix/presale/ical.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pretix/presale/ical.py b/src/pretix/presale/ical.py index ed1f51d69..21f475259 100644 --- a/src/pretix/presale/ical.py +++ b/src/pretix/presale/ical.py @@ -86,6 +86,7 @@ def get_public_ical(events): )) descr.append(_('Organizer: {organizer}').format(organizer=event.organizer.name)) + # Actual ical organizer field is not useful since it will cause "your invitation was accepted" emails to the organizer vevent.add('description').value = '\n'.join(descr) return cal @@ -139,6 +140,7 @@ def get_private_icals(event, positions): datetime=date_format(ev.date_admission.astimezone(tz), 'SHORT_DATETIME_FORMAT') )) + # Actual ical organizer field is not useful since it will cause "your invitation was accepted" emails to the organizer descr.append(_('Organizer: {organizer}').format(organizer=event.organizer.name)) description = '\n'.join(descr)