Go to /#/home if there is no saved room
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -132,7 +132,9 @@ export class SpaceStoreClass extends AsyncStoreWithClient<IState> {
|
|||||||
room_id: space.roomId,
|
room_id: space.roomId,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// TODO: Switch to first room in the RoomList
|
defaultDispatcher.dispatch({
|
||||||
|
action: "view_home_page",
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user