mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-07 01:39:21 +00:00
do not use syncKey from cache when davCollectionTag = -1 - patch from tfu
This commit is contained in:
1 parent
950507626b
commit
6860ef83ae
2 files changed
+2
-1
No files matched your search
@@ -1211,7 +1211,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
{
|
||||
// Make sure that client is updated with the right syncKey. - This keeps vtodo's and vevent's syncKey in sync.
|
||||
syncKeyInCache = [folderMetadata objectForKey: @"SyncKey"];
|
||||
if (syncKeyInCache && !([davCollectionTag isEqualToString:syncKeyInCache]))
|
||||
if (syncKeyInCache && !([davCollectionTag isEqualToString:syncKeyInCache]) && ![davCollectionTag isEqualToString: @"-1"])
|
||||
{
|
||||
davCollectionTag = syncKeyInCache;
|
||||
*changeDetected = YES;
|
||||
|
||||
Reference in new issue
Block a user