When an event is scheduled it is inserted into the organizer’s calendar. By default most calendars using calDAV will then send their own e-mail notifying the attendees. This conflicts with Cal.com which does this already. By setting SCHEDULE-AGENT=CLIENT
in the .ics calDAV object we tell the server to not send these emails.
To make minimal changes, especially because the ics
package is used in multiple parts of the application, I forked ics
(named ics2
) and created a patch for the version Cal.com is using right now (v2.37.0
=> v2.37.2
). I’m contacting the maintainer of ics
to publish this fix on the official ics
package.
In the near future it would be a good idea to add additional tests to the codebase where ics
is used so we can also confidently move to v3
which more closely aligns with the calDAV spec such as quoting email addresses.
/claim #9485
Full demonstration before (Cal.com) and after (local) using Fastmail calDAV:
https://www.youtube.com/watch?v=EE6wjrhxwUU
Before fix (on official Cal.com):
After fix (on local instance using RIJX Sendgrid):
Updated calendar event invites to set SCHEDULE-AGENT=CLIENT in .ics files, preventing duplicate attendee emails from the organizer’s calendar.
Dependencies
Bug Fixes
RIJX
@rijx
Cal.com, Inc.
@cal