|
@@ -755,7 +755,7 @@ class NCUtility: NSObject {
|
|
|
return isDirectoryE2EE(serverUrl: file.serverUrl, account: file.account, urlBase: file.urlBase, userId: file.userId)
|
|
|
}
|
|
|
|
|
|
- @objc func isDirectoryE2EE(serverUrl: String, account: String, urlBase: String, userId: String) -> Bool {
|
|
|
+ func isDirectoryE2EE(serverUrl: String, account: String, urlBase: String, userId: String) -> Bool {
|
|
|
if serverUrl == NCUtilityFileSystem.shared.getHomeServer(urlBase: urlBase, userId: userId) || serverUrl == ".." { return false }
|
|
|
if let directory = NCManageDatabase.shared.getTableDirectory(predicate: NSPredicate(format: "account == %@ AND serverUrl == %@", account, serverUrl)) {
|
|
|
return directory.e2eEncrypted
|