mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
See ChangeLog
Monotone-Parent: 4e2b45bb5b0360d8cf107846fa39fb12f6bacf7f Monotone-Revision: 7d1f68d661b9fcfd676be1e6d3d6ce6c1fb09df9 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2012-04-30T17:19:00
This commit is contained in:
@@ -10,6 +10,12 @@
|
||||
(-davCalendarUserAddressSet): Modified to honor
|
||||
SOGoHideSystemEMail domain default.
|
||||
|
||||
* SoObjects/Mailer/SOGoDraftObject.m (-lookupName:...):
|
||||
We prioritize the lookup of the "Drafts" folder over the
|
||||
"Sent" one if both are matching.
|
||||
|
||||
* SoObjects/Mailer/SOGoMailFolder.m: Same as above.
|
||||
|
||||
|
||||
2012-04-25 Jean Raby <jraby@inverse.ca>
|
||||
|
||||
|
||||
@@ -546,12 +546,12 @@ static NSString *inboxFolderName = @"INBOX";
|
||||
[self _appendNamespaces: namespaces];
|
||||
if ([namespaces containsObject: folderName])
|
||||
klazz = [SOGoMailNamespace class];
|
||||
else if ([folderName
|
||||
isEqualToString: [self sentFolderNameInContext: _ctx]])
|
||||
klazz = [SOGoSentFolder class];
|
||||
else if ([folderName
|
||||
isEqualToString: [self draftsFolderNameInContext: _ctx]])
|
||||
klazz = [SOGoDraftsFolder class];
|
||||
else if ([folderName
|
||||
isEqualToString: [self sentFolderNameInContext: _ctx]])
|
||||
klazz = [SOGoSentFolder class];
|
||||
else if ([folderName
|
||||
isEqualToString: [self trashFolderNameInContext: _ctx]])
|
||||
klazz = [SOGoTrashFolder class];
|
||||
|
||||
@@ -870,13 +870,13 @@ static NSString *defaultUserID = @"anyone";
|
||||
fullFolderName = [NSString stringWithFormat: @"%@/%@",
|
||||
[self traversalFromMailAccount], folderName];
|
||||
if ([fullFolderName
|
||||
isEqualToString:
|
||||
[mailAccount sentFolderNameInContext: _ctx]])
|
||||
className = @"SOGoSentFolder";
|
||||
else if ([fullFolderName
|
||||
isEqualToString:
|
||||
[mailAccount draftsFolderNameInContext: _ctx]])
|
||||
className = @"SOGoDraftsFolder";
|
||||
else if ([fullFolderName
|
||||
isEqualToString:
|
||||
[mailAccount sentFolderNameInContext: _ctx]])
|
||||
className = @"SOGoSentFolder";
|
||||
else if ([fullFolderName
|
||||
isEqualToString:
|
||||
[mailAccount trashFolderNameInContext: _ctx]])
|
||||
|
||||
Reference in New Issue
Block a user