From c90e2b0501ed40693ce2fa43cafbbf93a0863468 Mon Sep 17 00:00:00 2001 From: smizrahi Date: Mon, 18 Nov 2024 15:41:14 +0100 Subject: [PATCH] fix(calendar): Ensure organizers are properly removed from attendee's calendars. Fix issue where organizers were also set as attendees. When an occurrence is deleted, it is now correctly removed from attendee's calendars. --- SoObjects/Appointments/SOGoAppointmentObject.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/Appointments/SOGoAppointmentObject.m b/SoObjects/Appointments/SOGoAppointmentObject.m index 6528e0a6b..0196d4d19 100644 --- a/SoObjects/Appointments/SOGoAppointmentObject.m +++ b/SoObjects/Appointments/SOGoAppointmentObject.m @@ -1859,7 +1859,7 @@ inRecurrenceExceptionsForEvent: (iCalEvent *) theEvent // Retrieve this occurence ID. recurrenceId = [occurence recurrenceId]; - if ([occurence userIsAttendee: ownerUser]) + if ([occurence userIsAttendee: ownerUser] && !activeUserIsOwner) { // The current user deletes the occurence; let the organizer know that // the user has declined this occurence.