/claim https://github.com/calcom/cal.com/issues/9485
This PR fixes the CalDAV integration issue with Fastmail (and other CalDAV servers) causing duplicate and erroneous invitation emails.
Added SCHEDULE-AGENT=CLIENT to ATTENDEE properties in both createEvent and updateEvent methods.
SCHEDULE-AGENT=CLIENT tells the CalDAV server that the client is responsible for handling invitationsModified packages/lib/CalendarService.ts:
createEvent()updateEvent()The fix modifies the iCal string after generation to add SCHEDULE-AGENT=CLIENT; to all ATTENDEE entries, preventing the CalDAV server from sending duplicate invitation emails.
Tested with:
SCHEDULE-AGENT=CLIENT on ATTENDEE linesReady for review!
GhostDragonAlpha
@allenwagner1979-gmail-com
Cal.com, Inc.
@cal