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:
parent
3a0c5fb72c
commit
628a788085
|
@ -20,6 +20,7 @@
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#import <Foundation/NSDictionary.h>
|
||||||
#import <Foundation/NSString.h>
|
#import <Foundation/NSString.h>
|
||||||
|
|
||||||
#import <Mailer/SOGoMailAccount.h>
|
#import <Mailer/SOGoMailAccount.h>
|
||||||
|
@ -69,7 +70,7 @@ static Class MAPIStoreMailFolderK;
|
||||||
|
|
||||||
userContext = [MAPIStoreUserContext userContextWithUsername: userName
|
userContext = [MAPIStoreUserContext userContextWithUsername: userName
|
||||||
andTDBIndexing: indexingTdb];
|
andTDBIndexing: indexingTdb];
|
||||||
accountFolder = [userContext mailRoot];
|
accountFolder = [[userContext rootFolders] objectForKey: @"mail"];
|
||||||
woContext = [userContext woContext];
|
woContext = [userContext woContext];
|
||||||
folderName[0] = @"folderINBOX";
|
folderName[0] = @"folderINBOX";
|
||||||
folderName[1] = [NSString stringWithFormat: @"folder%@",
|
folderName[1] = [NSString stringWithFormat: @"folder%@",
|
||||||
|
@ -105,7 +106,7 @@ static Class MAPIStoreMailFolderK;
|
||||||
|
|
||||||
- (id) rootSOGoFolder
|
- (id) rootSOGoFolder
|
||||||
{
|
{
|
||||||
return [userContext mailRoot];
|
return [[userContext rootFolders] objectForKey: @"mail"];
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (enum mapistore_context_role) contextRole
|
+ (enum mapistore_context_role) contextRole
|
||||||
|
|
Loading…
Reference in a new issue