diff --git a/ElementX/Sources/FlowCoordinators/RoomFlowCoordinator.swift b/ElementX/Sources/FlowCoordinators/RoomFlowCoordinator.swift index a4d7d5148..cc81f7d21 100644 --- a/ElementX/Sources/FlowCoordinators/RoomFlowCoordinator.swift +++ b/ElementX/Sources/FlowCoordinators/RoomFlowCoordinator.swift @@ -86,8 +86,8 @@ class RoomFlowCoordinator: FlowCoordinatorProtocol { func handleAppRoute(_ appRoute: AppRoute, animated: Bool) { switch appRoute { case .room(let roomID): - if case .room(let roomID) = stateMachine.state, - roomID == roomID { + if case .room(let identifier) = stateMachine.state, + roomID == identifier { return }