marinofaggiana пре 4 година
родитељ
комит
0387e0c6dd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      iOSClient/Networking/NCService.swift

+ 1 - 1
iOSClient/Networking/NCService.swift

@@ -160,7 +160,7 @@ class NCService: NSObject {
             
                 // File Sharing
                 let isFilesSharingEnabled = NCManageDatabase.sharedInstance.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesFileSharingApiEnabled, exists: false)
-                if (isFilesSharingEnabled && self.appDelegate.activeFiles != nil) {
+                if isFilesSharingEnabled {
                     NCCommunication.shared.readShares { (account, shares, errorCode, ErrorDescription) in
                         if errorCode == 0 {
                             NCManageDatabase.sharedInstance.deleteTableShare(account: account)