Monotone-Parent: bb133434e9e283747d7758877c0c8dcd50346b55

Monotone-Revision: 4ea252c6500eb31c2c96a411c6338ecc5e71eef0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-08T15:24:23
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2012-03-08 15:24:23 +00:00
parent 06013c4920
commit a29aa90913
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2012-03-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreGCSFolder.m (-synchroniseCache): ensure that
any record that are marked as updated are removed from the record
cache of the corresponding SOGoGCSFolder instance.
* OpenChange/MAPIStoreFolder.m (-getPidTagSubFolders:inMemCtx:):
invoke [self folderKeys] rather than the corresponding ivar.

View File

@ -288,7 +288,8 @@
BOOL rc = YES, foundChange = NO;
uint64_t newChangeNum;
NSData *changeKey;
NSNumber *ti, *changeNumber, *lastModificationDate, *cName, *cVersion, *cLastModified;
NSString *cName;
NSNumber *ti, *changeNumber, *lastModificationDate, *cVersion, *cLastModified;
EOFetchSpecification *fs;
EOQualifier *searchQualifier, *fetchQualifier;
NSUInteger count, max;
@ -367,6 +368,8 @@
cVersion = [result objectForKey: @"c_version"];
cLastModified = [result objectForKey: @"c_lastmodified"];
[sogoObject removeChildRecordWithName: cName];
messageEntry = [messages objectForKey: cName];
if (!messageEntry)
{