mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-27 04:06:23 +00:00
Monotone-Parent: 6bb1bd2b9a63daae8f56da56b2ba72ac8bad2d3e
Monotone-Revision: a84224f7e18c7678f6ed4be61800899d8fb9286d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-09-23T19:27:21 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -52,13 +52,21 @@
|
||||
{
|
||||
int rc = MAPISTORE_SUCCESS;
|
||||
NSData *changeKey;
|
||||
MAPIStoreGCSFolder *parentFolder;
|
||||
NSString *nameInContainer;
|
||||
|
||||
if (isNew)
|
||||
rc = MAPISTORE_ERR_NOT_FOUND;
|
||||
else
|
||||
{
|
||||
changeKey = [(MAPIStoreGCSFolder *)[self container]
|
||||
changeKeyForMessageWithKey: [self nameInContainer]];
|
||||
parentFolder = (MAPIStoreGCSFolder *)[self container];
|
||||
nameInContainer = [self nameInContainer];
|
||||
changeKey = [parentFolder changeKeyForMessageWithKey: nameInContainer];
|
||||
if (!changeKey)
|
||||
{
|
||||
[parentFolder synchroniseCache];
|
||||
changeKey = [parentFolder changeKeyForMessageWithKey: nameInContainer];
|
||||
}
|
||||
if (!changeKey)
|
||||
abort ();
|
||||
*data = [changeKey asBinaryInMemCtx: memCtx];
|
||||
|
||||
Reference in New Issue
Block a user