Go to /#/home if there is no saved room
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
7e425ce939
commit
65ef2b845e
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue