Marino Faggiana 7 năm trước cách đây
mục cha
commit
cae4346ca4
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      iOSClient/Database/NCManageDatabase.swift

+ 4 - 0
iOSClient/Database/NCManageDatabase.swift

@@ -1396,6 +1396,10 @@ class NCManageDatabase: NSObject {
         
         self.setDateReadDirectory(directoryID: directoryID)
         
+        if metadata.isInvalidated {
+            return nil
+        }
+        
         return tableMetadata.init(value: metadata)
     }