mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Refactor encryption trust level
This commit is contained in:
+1
-1
@@ -327,7 +327,7 @@ class QRLoginService: NSObject, QRLoginServiceProtocol {
|
||||
|
||||
MXLog.debug("[QRLoginService] Marking the received master key as trusted")
|
||||
let mskVerificationResult = await withCheckedContinuation { (continuation: CheckedContinuation<Bool, Never>) in
|
||||
session.crypto.setUserVerification(true, forUser: session.myUserId) {
|
||||
session.crypto.setUserVerificationForUserId(session.myUserId) {
|
||||
MXLog.debug("[QRLoginService] Successfully marked the received master key as trusted")
|
||||
continuation.resume(returning: true)
|
||||
} failure: { error in
|
||||
|
||||
Reference in New Issue
Block a user