mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Correct the state machine current state after failing to retrieve a particular room
This commit is contained in:
committed by
Stefan Ceriu
parent
02e7ab44c1
commit
066006c4be
@@ -186,6 +186,7 @@ class UserSessionFlowCoordinator: CoordinatorProtocol {
|
||||
Task { @MainActor in
|
||||
guard let roomProxy = await userSession.clientProxy.roomForIdentifier(roomIdentifier) else {
|
||||
MXLog.error("Invalid room identifier: \(roomIdentifier)")
|
||||
stateMachine.processEvent(.deselectRoom)
|
||||
return
|
||||
}
|
||||
let userId = userSession.clientProxy.userID
|
||||
|
||||
Reference in New Issue
Block a user