marinofaggiana 5 年之前
父节点
当前提交
4fb2bc3259
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Networking/NCNetworking.swift

+ 1 - 1
iOSClient/Networking/NCNetworking.swift

@@ -374,7 +374,7 @@ import NCCommunication
         }
         
         if directory.e2eEncrypted == true {
-            deleteMetadataE2EE(metadata, directory: directory, user: user, userID: userID, password: password, url: url, completion: completion)
+            renameMetadataE2EE(metadata, fileNameNew: fileNameNew, directory: directory, user: user, userID: userID, password: password, url: url, completion: completion)
         } else {
             renameMetadataPlain(metadata, fileNameNew: fileNameNew, viewController: viewController, completion: completion)
         }