Monotone-Parent: 8b45cc6424e2b06583c8a2dd876057159db48763

Monotone-Revision: 1bf5f82c40c92c564dab6ea7d0c2736a14386404

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-12-13T17:08:27
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-12-13 17:08:27 +00:00
parent dcaadaa550
commit 39844d3189
2 changed files with 13 additions and 6 deletions

View File

@@ -1,12 +1,12 @@
/* MAPIStoreOutboxContext.h - this file is part of SOGo
*
* Copyright (C) 2010 Wolfgang Sourdeau
* Copyright (C) 2010 Inverse inc.
*
* Author: Wolfgang Sourdeau <root@inverse.ca>
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,

View File

@@ -1,12 +1,12 @@
/* MAPIStoreOutboxContext.m - this file is part of SOGo
*
* Copyright (C) 2010 Wolfgang Sourdeau
* Copyright (C) 2010 Inverse inc.
*
* Author: Wolfgang Sourdeau <root@inverse.ca>
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
@@ -55,6 +55,7 @@
SOGoUserFolder *userFolder;
SOGoMailAccounts *accountsFolder;
SOGoMailAccount *accountFolder;
id currentContainer;
userFolder = [SOGoUserFolder objectWithName: [authenticator username]
inContainer: MAPIApp];
@@ -75,6 +76,12 @@
moduleFolder = [accountFolder draftsFolderInContext: nil];
[moduleFolder retain];
currentContainer = [moduleFolder container];
while (currentContainer != accountFolder)
{
[parentFoldersBag addObject: currentContainer];
currentContainer = [currentContainer container];
}
}
- (id) createMessageInFolder: (id) parentFolder