mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +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
|
Task { @MainActor in
|
||||||
guard let roomProxy = await userSession.clientProxy.roomForIdentifier(roomIdentifier) else {
|
guard let roomProxy = await userSession.clientProxy.roomForIdentifier(roomIdentifier) else {
|
||||||
MXLog.error("Invalid room identifier: \(roomIdentifier)")
|
MXLog.error("Invalid room identifier: \(roomIdentifier)")
|
||||||
|
stateMachine.processEvent(.deselectRoom)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
let userId = userSession.clientProxy.userID
|
let userId = userSession.clientProxy.userID
|
||||||
|
|||||||
Reference in New Issue
Block a user