Monotone-Parent: feca1b329fdb19a68bf8372a1b89123aa849b31c
Monotone-Revision: f387b997b99a1bdf83c75918e84bd9c8b4d47db3 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-25T21:22:38 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
e3d4e1755a
commit
8b391ec042
|
@ -1,5 +1,10 @@
|
|||
2007-05-25 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* 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.
|
||||
|
|
|
@ -80,18 +80,13 @@ static NSString *AgenorShareLoginMarker = @".-.";
|
|||
: [account arrayByAddingObjectsFromArray:shares];
|
||||
}
|
||||
|
||||
- (NSArray *)fetchIdentitiesWithOnlyEmitterAccess:(BOOL)_flag {
|
||||
WOContext *ctx;
|
||||
- (NSArray *) fetchIdentitiesWithOnlyEmitterAccess: (BOOL) _flag
|
||||
{
|
||||
NSString *accountString;
|
||||
|
||||
if ([self isInternetRequest]) { /* only show primary mailbox in Internet */
|
||||
// just return the primary identity
|
||||
id identity;
|
||||
accountString = [[context activeUser] primaryIMAP4AccountString];
|
||||
|
||||
identity = [[context activeUser] primaryMailIdentity];
|
||||
return [identity isNotNull] ? [NSArray arrayWithObject:identity] : nil;
|
||||
}
|
||||
|
||||
return [[ctx activeUser] fetchAllMailIdentitiesWithOnlyEmitterAccess:_flag];
|
||||
return [NSArray arrayWithObject: accountString];
|
||||
}
|
||||
|
||||
- (NSArray *)fetchAllIdentities {
|
||||
|
|
Loading…
Reference in New Issue