mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-16 06:28:27 +02:00
bug: fix crash with migration on login (MESSENGER-7565)
This commit is contained in:
@@ -26,7 +26,7 @@ import MatrixSDK
|
||||
|
||||
var returnValue = false
|
||||
|
||||
if let username = session.myUser.username() {
|
||||
if let username = session.myUser?.username() {
|
||||
let ossStatus = SharedKeychain.save(account: "migration_username", value: String(username))
|
||||
returnValue = ossStatus == errSecSuccess
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user