Skip to content

Commit

Permalink
E2EE force refresh after create dir
Browse files Browse the repository at this point in the history
Signed-off-by: Marino Faggiana <[email protected]>
  • Loading branch information
marinofaggiana committed Jan 16, 2025
1 parent c021fdb commit f859d50
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ class NCNetworkingE2EECreateFolder: NSObject {
let metadata = self.database.convertFileToMetadata(file, isDirectoryE2EE: true)
self.database.addMetadata(metadata)
self.database.addDirectory(e2eEncrypted: true, favorite: metadata.favorite, ocId: metadata.ocId, fileId: metadata.fileId, permissions: metadata.permissions, serverUrl: serverUrlFileName, account: metadata.account)
self.database.realmRefresh()

NotificationCenter.default.postOnMainThread(name: NCGlobal.shared.notificationCenterCreateFolder, userInfo: ["ocId": ocId, "serverUrl": serverUrl, "account": session.account, "withPush": withPush, "sceneIdentifier": sceneIdentifier as Any])

Expand Down

0 comments on commit f859d50

Please sign in to comment.