mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-19 10:08:12 +00:00
oc-calendar: force cache synchronisation for a message before aborting
Sometimes we're trying to get the `objectVersion` of a calendar message, but this message's entry is not in the cache. The method `synchroniseCache` won't work in this case, so we try to force the synchronisation of that particular message in order to get the change number before aborting.
This commit is contained in:
1 parent
a50758cc06
commit
8800cdf641
3 files changed
+133
-10
No files matched your search
@@ -41,6 +41,7 @@
|
||||
|
||||
/* synchronisation */
|
||||
- (BOOL) synchroniseCache;
|
||||
- (BOOL) synchroniseCacheFor: (NSString *) nameInContainer;
|
||||
- (void) updateVersionsForMessageWithKey: (NSString *) messageKey
|
||||
withChangeKey: (NSData *) oldChangeKey
|
||||
andPredecessorChangeList: (NSData *) pcl;
|
||||
|
||||
Reference in new issue
Block a user