(fix) make sure we compare the organizer's email only

pull/278/head
Ludovic Marcotte 2017-01-06 11:03:59 -05:00
parent 926cf6f34c
commit e71709c09f
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@
[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"];