marinofaggiana před 4 roky
rodič
revize
0387e0c6dd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)