Ensure multiple mandatory verification flows can be ran consecutively (e.g. following encryption resets) (#3722)

* Ensure multiple mandatory verification flows can be ran consecutively (e.g. following encryption resets)

* Disabled the back button on the verification screen only when verified and waiting for the security state publisher
This commit is contained in:
Stefan Ceriu
2025-01-31 17:31:21 +02:00
committed by GitHub
parent 4856ffd3b2
commit 97069850f5
4 changed files with 20 additions and 10 deletions
@@ -47,7 +47,6 @@ class UserSession: UserSessionProtocol {
MXLog.info("Session security state changed, verificationState: \($0), recoveryState: \($1)")
return SessionSecurityState(verificationState: $0, recoveryState: $1)
}
.removeDuplicates()
.receive(on: DispatchQueue.main)
.sink { [weak self] value in
self?.sessionSecurityStateSubject.send(value)