mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-17 07:33:57 +00:00
fix(calendar): Fix duplicates in series appointments for Apple's Calendar
This commit is contained in:
@@ -963,13 +963,15 @@ inRecurrenceExceptionsForEvent: (iCalEvent *) theEvent
|
||||
NSArray *addedAttendees, *deletedAttendees, *updatedAttendees;
|
||||
iCalEventChanges *changes;
|
||||
NSException *ex;
|
||||
WORequest *rq;
|
||||
|
||||
addedAttendees = nil;
|
||||
deletedAttendees = nil;
|
||||
updatedAttendees = nil;
|
||||
rq = [context request];
|
||||
|
||||
changes = [newEvent getChangesRelativeToEvent: oldEvent];
|
||||
if ([changes sequenceShouldBeIncreased])
|
||||
if ([changes sequenceShouldBeIncreased] || [rq isICal4] || [rq isICal])
|
||||
{
|
||||
// Set new attendees status to "needs action" and recompute changes when
|
||||
// the list of attendees has changed. The list might have changed since
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
static NSString *properties[] = {@"organizer", @"startDate", @"endDate",
|
||||
@"due", @"duration", @"summary",
|
||||
@"rdate", @"rrule", @"exdate", @"exrule",
|
||||
@"status", @"location", @"rid", @"timeStampAsDate",
|
||||
@"status", @"location", @"rid",
|
||||
nil};
|
||||
NSString **currentProperty;
|
||||
BOOL updateRequired;
|
||||
|
||||
Reference in New Issue
Block a user