(fix) carry over the delegatedTo, not only the part stat

This commit is contained in:
Ludovic Marcotte committed 2015-12-15 15:05:40 -05:00
1 parent c6dbcb2f7c
commit 28bd4ca318
3 files changed
+11 -10

No files matched your search

@@ -99,8 +99,8 @@ NSNumber *iCalDistantFutureNumber = nil;
return userAttendee;
}
- (NSString *) participationStatusForUser: (SOGoUser *) theUser
attendee: (iCalPerson *) theAttendee
- (iCalPerson *) participantForUser: (SOGoUser *) theUser
attendee: (iCalPerson *) theAttendee
{
iCalPerson *currentAttendee;
NSEnumerator *attendees;
@@ -122,9 +122,9 @@ NSNumber *iCalDistantFutureNumber = nil;
}
if ([a count] > 0)
return [[a objectAtIndex: 0] partStat];
return [a objectAtIndex: 0];
return [theAttendee partStat];
return theAttendee;
}
- (BOOL) userIsOrganizer: (SOGoUser *) user