marinofaggiana %!s(int64=5) %!d(string=hai) anos
pai
achega
06c2d13dc0
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      iOSClient/Networking/NCNetworkingE2EE.swift

+ 7 - 0
iOSClient/Networking/NCNetworkingE2EE.swift

@@ -246,6 +246,13 @@ import NCCommunication
                     }
                     
                     NCCommunication.shared.putE2EEMetadata(fileId: directory!.fileId, e2eToken: e2eToken!, e2eMetadata: rebuildMetadata, method: method) { (account, metadata, errorCode, errorDescription) in
+                        // remove err 404 becouse is not important in this case
+                        var errorCode = errorCode
+                        var errorDescription = errorDescription
+                        if errorCode == 404 {
+                            errorCode = 0
+                            errorDescription = nil
+                        }
                         
                         if unlock {