mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-05 20:10:33 +00:00
Monotone-Parent: 9014b61a856557f48bcdb06cd327ce958a4d98c7
Monotone-Revision: 14fb6c252ef1563d917c59f289ac3d06479a7eab Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-08-10T20:57:22 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -96,6 +96,22 @@ _computeAllDayOffset()
|
||||
return isParticipant;
|
||||
}
|
||||
|
||||
- (iCalPerson *) userAsParticipant: (SOGoUser *) user
|
||||
{
|
||||
NSEnumerator *participants;
|
||||
iCalPerson *currentParticipant, *userParticipant;
|
||||
|
||||
userParticipant = nil;
|
||||
|
||||
participants = [[self participants] objectEnumerator];
|
||||
while (!userParticipant
|
||||
&& (currentParticipant = [participants nextObject]))
|
||||
if ([user hasEmail: [currentParticipant rfc822Email]])
|
||||
userParticipant = currentParticipant;
|
||||
|
||||
return userParticipant;
|
||||
}
|
||||
|
||||
- (BOOL) userIsOrganizer: (SOGoUser *) user
|
||||
{
|
||||
NSString *mail;
|
||||
|
||||
Reference in New Issue
Block a user