marinofaggiana 4 年之前
父節點
當前提交
c6b2648a4d
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      iOSClient/Networking/NCNetworkingE2EE.swift

+ 0 - 2
iOSClient/Networking/NCNetworkingE2EE.swift

@@ -140,7 +140,6 @@ import Alamofire
                             if let tableLock = NCManageDatabase.sharedInstance.getE2ETokenLock(account: metadata.account, serverUrl: metadata.serverUrl) {
                                 NCCommunication.shared.lockE2EEFolder(fileId: tableLock.fileId, e2eToken: tableLock.e2eToken, method: "DELETE") { (_, _, _, _) in }
                             }
-                            NotificationCenter.default.postOnMainThread(name: k_notificationCenter_deleteFile, userInfo: ["metadata": metadata, "onlyLocal": false])
                             completion(errorCode, errorDescription ?? "")
                         }
                     } else {
@@ -148,7 +147,6 @@ import Alamofire
                         if let tableLock = NCManageDatabase.sharedInstance.getE2ETokenLock(account: metadata.account, serverUrl: metadata.serverUrl) {
                             NCCommunication.shared.lockE2EEFolder(fileId: tableLock.fileId, e2eToken: tableLock.e2eToken, method: "DELETE") { (_, _, _, _) in }
                         }
-                        NotificationCenter.default.postOnMainThread(name: k_notificationCenter_deleteFile, userInfo: ["metadata": metadata, "onlyLocal": false])
                         completion(errorCode, errorDescription)
                     }
                 }