marinofaggiana há 4 anos atrás
pai
commit
06c2d13dc0
1 ficheiros alterados com 7 adições e 0 exclusões
  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
                     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 {
                         if unlock {