mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 12:58:50 +00:00
Monotone-Parent: cba2145cf03250d3ed2c2ef72a393a81e47435c1
Monotone-Revision: 4aebdfab09fd72cefd327e453f27e340da9f8738 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-01-30T21:42:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import <Foundation/NSDictionary.h>
|
||||
#import <Foundation/NSString.h>
|
||||
|
||||
#import <Mailer/SOGoMailAccount.h>
|
||||
@@ -69,7 +70,7 @@ static Class MAPIStoreMailFolderK;
|
||||
|
||||
userContext = [MAPIStoreUserContext userContextWithUsername: userName
|
||||
andTDBIndexing: indexingTdb];
|
||||
accountFolder = [userContext mailRoot];
|
||||
accountFolder = [[userContext rootFolders] objectForKey: @"mail"];
|
||||
woContext = [userContext woContext];
|
||||
folderName[0] = @"folderINBOX";
|
||||
folderName[1] = [NSString stringWithFormat: @"folder%@",
|
||||
@@ -105,7 +106,7 @@ static Class MAPIStoreMailFolderK;
|
||||
|
||||
- (id) rootSOGoFolder
|
||||
{
|
||||
return [userContext mailRoot];
|
||||
return [[userContext rootFolders] objectForKey: @"mail"];
|
||||
}
|
||||
|
||||
+ (enum mapistore_context_role) contextRole
|
||||
|
||||
Reference in New Issue
Block a user