mirror of https://github.com/vector-im/riot-web
Go to /#/home if there is no saved room
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
7e425ce939
commit
65ef2b845e
|
@ -132,7 +132,9 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
|||
room_id: space.roomId,
|
||||
});
|
||||
} else {
|
||||
// TODO: Switch to first room in the RoomList
|
||||
defaultDispatcher.dispatch({
|
||||
action: "view_home_page",
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue