mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-11 11:25:12 +00:00
Monotone-Parent: 0cbd4a9c5bf491a238af8827cc1200efcd8577d6
Monotone-Revision: ea749e8a379c178fc2744bc5cee6af5d1d20640d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-03T18:39:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -102,7 +102,7 @@ static NSTimeZone *serverTimeZone = nil;
|
||||
|
||||
- (NSString *) email
|
||||
{
|
||||
if (email == nil)
|
||||
if (!email)
|
||||
{
|
||||
email = [[self userManager] getEmailForUID: [self login]];
|
||||
[email retain];
|
||||
@@ -111,6 +111,17 @@ static NSTimeZone *serverTimeZone = nil;
|
||||
return email;
|
||||
}
|
||||
|
||||
- (NSString *) systemEmail
|
||||
{
|
||||
if (!systemEmail)
|
||||
{
|
||||
systemEmail = [[self userManager] getSystemEmailForUID: [self login]];
|
||||
[systemEmail retain];
|
||||
}
|
||||
|
||||
return systemEmail;
|
||||
}
|
||||
|
||||
- (NSString *) cn
|
||||
{
|
||||
if (cn == nil)
|
||||
|
||||
Reference in New Issue
Block a user