Go to /#/home if there is no saved room

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-03-26 08:16:39 +01:00
parent 7e425ce939
commit 65ef2b845e
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -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",
});
}
}