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

This commit is contained in:
Ludovic Marcotte
2015-12-15 16:28:13 -05:00
parent 0f578876af
commit 76f0ec9ae0
3 changed files with 11 additions and 10 deletions
@@ -436,8 +436,8 @@ NSNumber *iCalDistantFutureNumber = nil;
return userAttendee;
}
- (NSString *) participationStatusForUser: (SOGoUser *) theUser
attendee: (iCalPerson *) theAttendee
- (iCalPerson *) participantForUser: (SOGoUser *) theUser
attendee: (iCalPerson *) theAttendee
{
iCalPerson *currentAttendee;
NSEnumerator *attendees;
@@ -459,9 +459,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