Browse Source

Improvements synchronize

Marino Faggiana 7 years ago
parent
commit
26ced2467b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      iOSClient/Synchronize/CCSynchronize.m

+ 2 - 1
iOSClient/Synchronize/CCSynchronize.m

@@ -368,8 +368,9 @@
         // Clear date for dorce refresh view
         if (![oldDirectoryID isEqualToString:metadata.directoryID]) {
             serverUrl = [[NCManageDatabase sharedInstance] getServerUrl:metadata.directoryID];
-            if (!serverUrl) return;
             oldDirectoryID = metadata.directoryID;
+            if (!serverUrl)
+                continue;
             [[NCManageDatabase sharedInstance] clearDateReadWithServerUrl:serverUrl directoryID:nil];
         }