mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-16 00:47:12 +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:
1 parent
cd0324dd49
commit
c90e2b0501
1 file changed
+1
-1
@@ -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