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
@@ -746,7 +746,8 @@ static NSNumber *sharedYes = nil;
privacySqlString = @"and (c_isopaque = 1)";
else
{
email = [activeUser primaryEmail];
#warning we do not manage all the user's possible emails
email = [[activeUser primaryIdentity] objectForKey: @"email"];
privacySqlString
= [NSString stringWithFormat:
@@ -274,14 +274,12 @@ static BOOL sendEMailNotifications = NO;
iCalPerson *person;
NSString *newContent;
NSException *ex;
NSString *myEMail;
ex = nil;
component = [self component: NO];
if (component)
{
myEMail = [[context activeUser] primaryEmail];
person = [self findParticipantWithUID: owner];
if (person)
{