mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-22 14:52:44 +00:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user