Skip to content

Commit f1d857d

Browse files
Support CANCELLED status
1 parent 29ee916 commit f1d857d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/backend/src/couchers/email/calendar_events.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ def create_event_ics_event(event: events_pb2.Event, loc_context: LocalizationCon
110110
# Google Calendar™ will hide the URL if there is a location, so also include it in the description
111111
ics_event.description = markdown_to_plaintext(event.content) + "\n\n" + url
112112

113+
if event.is_cancelled:
114+
ics_event.status = "CANCELLED"
115+
113116
return ics_event
114117

115118

0 commit comments

Comments
 (0)