Revert "Merge pull request #7430 from vector-im/andy/user_trust"

This reverts commit 12ee84f607, reversing
changes made to 3644b647f6.
This commit is contained in:
Andy Uhnak
2023-03-22 15:57:25 +00:00
parent 43319a7f85
commit e55a733d0c
16 changed files with 62 additions and 264 deletions
@@ -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.setUserVerificationForUserId(session.myUserId) {
session.crypto.setUserVerification(true, forUser: session.myUserId) {
MXLog.debug("[QRLoginService] Successfully marked the received master key as trusted")
continuation.resume(returning: true)
} failure: { error in