Monotone-Parent: 431e778e50cbef56367e4abff8e79f98bf274490

Monotone-Revision: 8b476e4386c24a321d3c6f26a7b2762835d3b94e

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-30T22:42:14
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2006-10-30 22:42:14 +00:00
1 parent 118e05cc78
commit cdc58167f2
3 files changed
+36

No files matched your search

+27
View File
@@ -27,6 +27,33 @@
@implementation UIxComponent(Agenor)
- (NSArray *) getICalPersonsFromValue: (NSString *) selectorValue
{
NSMutableArray *persons;
NSEnumerator *uids;
NSString *uid;
AgenorUserManager *um;
um = [AgenorUserManager sharedUserManager];
persons = [NSMutableArray new];
[persons autorelease];
if ([selectorValue length] > 0)
{
uids = [[selectorValue componentsSeparatedByString: @","]
objectEnumerator];
uid = [uids nextObject];
while (uid)
{
[persons addObject: [um iCalPersonWithUid: uid]];
uid = [uids nextObject];
}
}
return persons;
}
- (NSString *)emailForUser {
return [[[self context] activeUser] email];
}