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>
|
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
|
* SoObjects/Mailer/SOGoMailAccount.m ([SOGoMailAccount
|
||||||
-sharedFolderName]): new method.
|
-sharedFolderName]): new method.
|
||||||
([SOGoMailAccount -otherUsersFolderName]): new method.
|
([SOGoMailAccount -otherUsersFolderName]): new method.
|
||||||
|
|
|
@ -80,18 +80,13 @@ static NSString *AgenorShareLoginMarker = @".-.";
|
||||||
: [account arrayByAddingObjectsFromArray:shares];
|
: [account arrayByAddingObjectsFromArray:shares];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSArray *)fetchIdentitiesWithOnlyEmitterAccess:(BOOL)_flag {
|
- (NSArray *) fetchIdentitiesWithOnlyEmitterAccess: (BOOL) _flag
|
||||||
WOContext *ctx;
|
{
|
||||||
|
NSString *accountString;
|
||||||
if ([self isInternetRequest]) { /* only show primary mailbox in Internet */
|
|
||||||
// just return the primary identity
|
accountString = [[context activeUser] primaryIMAP4AccountString];
|
||||||
id identity;
|
|
||||||
|
return [NSArray arrayWithObject: accountString];
|
||||||
identity = [[context activeUser] primaryMailIdentity];
|
|
||||||
return [identity isNotNull] ? [NSArray arrayWithObject:identity] : nil;
|
|
||||||
}
|
|
||||||
|
|
||||||
return [[ctx activeUser] fetchAllMailIdentitiesWithOnlyEmitterAccess:_flag];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSArray *)fetchAllIdentities {
|
- (NSArray *)fetchAllIdentities {
|
||||||
|
|
Loading…
Reference in New Issue