See ChangeLog

Monotone-Parent: 58318ff8b98f933c6f6fffe3d652a2954b890c7c
Monotone-Revision: 11ff37ba45941fd41e25ca5ecc695c49c15bf651

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-03-04T20:30:28
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2011-03-04 20:30:28 +00:00
parent d0dbb5379b
commit 5d240197ce
3 changed files with 13 additions and 4 deletions
+9 -2
View File
@@ -243,11 +243,11 @@
- (NSDictionary *) _lookupContactEntry: (NSString *) theID
considerEmail: (BOOL) b
{
NSMutableDictionary *response;
EOAdaptorChannel *channel;
GCSChannelManager *cm;
NSString *sql, *value;
NSException *ex;
NSString *sql;
NSMutableDictionary *response;
response = nil;
@@ -290,6 +290,13 @@
[response setObject: [NSNumber numberWithBool: YES] forKey: @"CalendarAccess"];
[response setObject: [NSNumber numberWithBool: YES] forKey: @"MailAccess"];
// We set the domain, if any
if (_domain)
value = _domain;
else
value = @"";
[response setObject: value forKey: @"c_domain"];
// We populate all mail fields
emails = [NSMutableArray array];