Monotone-Parent: 1be5732f06e2d40958dabf3dc0142cabc8ac4a21

Monotone-Revision: 052d83040e0d4ee5456c2ee8ef81f588178b384b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-08-15T20:13:41
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-08-15 20:13:41 +00:00
parent 5a3fdefbb4
commit 401c6c8ae2
6 changed files with 30 additions and 19 deletions

View File

@@ -783,6 +783,7 @@
{
NSString *organizerEmail;
SOGoUser *activeUser;
NSDictionary *primaryIdentity;
organizerEmail = [[component organizer] email];
if ([organizerEmail length] == 0)
@@ -791,8 +792,9 @@
{
ASSIGN (organizer, [iCalPerson elementWithTag: @"organizer"]);
activeUser = [context activeUser];
primaryIdentity = [activeUser primaryIdentity];
[organizer setCn: [activeUser cn]];
[organizer setEmail: [activeUser primaryEmail]];
[organizer setEmail: [primaryIdentity objectForKey: @"email"]];
[component setOrganizer: organizer];
}
}