Skip to content

Commit

Permalink
(fix) make sure we compare the organizer's email only
Browse files Browse the repository at this point in the history
  • Loading branch information
extrafu authored and cgx committed Jan 7, 2017
1 parent 46261d6 commit 278b65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SOPE/NGCards/iCalEventChanges.m
Expand Up @@ -142,7 +142,7 @@ - (void)_trackPropertyChanges:(iCalEvent *)_from :(iCalEvent *)_to {
[updatedProperties addObject:@"accessClass"];
if(!IS_EQUAL([_from sequence], [_to sequence], isEqualToNumber:))
[updatedProperties addObject:@"sequence"];
if(!IS_EQUAL([_from organizer], [_to organizer], isEqual:))
if(!IS_EQUAL([[_from organizer] rfc822Email], [[_to organizer] rfc822Email], isEqual:))
[updatedProperties addObject:@"organizer"];
if(!IS_EQUAL([_from recurrenceRules], [_to recurrenceRules], isEqual:))
[updatedProperties addObject:@"rrule"];
Expand Down

0 comments on commit 278b65d

Please sign in to comment.