mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:44:05 +00:00
Rotate the session directory each time a new client is built for authentication.
This commit is contained in:
@@ -23,7 +23,7 @@ enum FileManagerError: Error {
|
||||
extension FileManager {
|
||||
func directoryExists(at url: URL) -> Bool {
|
||||
var isDirectory: ObjCBool = false
|
||||
guard fileExists(atPath: url.path(), isDirectory: &isDirectory) else {
|
||||
guard fileExists(atPath: url.path(percentEncoded: false), isDirectory: &isDirectory) else {
|
||||
return false
|
||||
}
|
||||
return isDirectory.boolValue
|
||||
|
||||
Reference in New Issue
Block a user