Monotone-Parent: 34a0500cef031e53eda3a1a6c3b2f626ce8f76dc

Monotone-Revision: f4e8a715d67a12fea729843b1401f636ce05ed66

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-16T21:05:41
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2012-03-16 21:05:41 +00:00
parent a8cc7409a1
commit 26701b7c71
8 changed files with 42 additions and 17 deletions

View File

@@ -252,7 +252,7 @@ static Class NSNumberK;
...
};
VersionMapping = {
Version = MessageKey;
Version = last-modified;
...
}
}
@@ -458,6 +458,15 @@ static Class NSNumberK;
return rc;
}
- (void) updateVersionsForMessageWithKey: (NSString *) messageKey
withChangeKey: (NSData *) newChangeKey
{
[self synchroniseCache];
if (newChangeKey)
[self setChangeKey: newChangeKey forMessageWithKey: messageKey];
}
- (NSNumber *) lastModifiedFromMessageChangeNumber: (NSNumber *) changeNum
{