diff --git a/ChangeLog b/ChangeLog index f598d4a11..ec1dfabff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-05-25 Wolfgang Sourdeau + * SoObjects/Mailer/SOGoMailAccounts.m + ([SOGoMailAccounts -fetchIdentitiesWithOnlyEmitterAccess:_flag]) + there is no longer any concept of Intranet or Internet connection + handling. + * SoObjects/Mailer/SOGoMailAccount.m ([SOGoMailAccount -sharedFolderName]): new method. ([SOGoMailAccount -otherUsersFolderName]): new method. diff --git a/SoObjects/Mailer/SOGoMailAccounts.m b/SoObjects/Mailer/SOGoMailAccounts.m index 836ee5549..73501bfe6 100644 --- a/SoObjects/Mailer/SOGoMailAccounts.m +++ b/SoObjects/Mailer/SOGoMailAccounts.m @@ -80,18 +80,13 @@ static NSString *AgenorShareLoginMarker = @".-."; : [account arrayByAddingObjectsFromArray:shares]; } -- (NSArray *)fetchIdentitiesWithOnlyEmitterAccess:(BOOL)_flag { - WOContext *ctx; - - if ([self isInternetRequest]) { /* only show primary mailbox in Internet */ - // just return the primary identity - id identity; - - identity = [[context activeUser] primaryMailIdentity]; - return [identity isNotNull] ? [NSArray arrayWithObject:identity] : nil; - } - - return [[ctx activeUser] fetchAllMailIdentitiesWithOnlyEmitterAccess:_flag]; +- (NSArray *) fetchIdentitiesWithOnlyEmitterAccess: (BOOL) _flag +{ + NSString *accountString; + + accountString = [[context activeUser] primaryIMAP4AccountString]; + + return [NSArray arrayWithObject: accountString]; } - (NSArray *)fetchAllIdentities {