mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-02 23:34:21 +00:00
fix(calendar): Fix duplicate event on Apple Calendar when creating a new reccurent event, inviting attendee and changing an occurence
This commit is contained in:
@@ -149,6 +149,9 @@
|
||||
[updatedProperties addObject:@"exrule"];
|
||||
if(!IS_EQUAL([_from exceptionDates], [_to exceptionDates], isEqual:))
|
||||
[updatedProperties addObject:@"exdate"];
|
||||
if ([_from respondsToSelector: @selector(lastPossibleRecurrenceStartDate)] && [_to respondsToSelector: @selector(lastPossibleRecurrenceStartDate)])
|
||||
if(!IS_EQUAL([_from lastPossibleRecurrenceStartDate], [_to lastPossibleRecurrenceStartDate], isEqual:))
|
||||
[updatedProperties addObject:@"reccurencesStartDate"];
|
||||
}
|
||||
|
||||
- (BOOL)hasChanges {
|
||||
|
||||
Reference in New Issue
Block a user