Jump to home page when leaving a room
so that you don't get thrown into a room you may be ignoring on purpose
This commit is contained in:
parent
2574ba1cfe
commit
3223b00028
5 changed files with 9 additions and 76 deletions
|
@ -140,6 +140,6 @@ export async function leaveRoomBehaviour(roomId: string) {
|
|||
}
|
||||
|
||||
if (RoomViewStore.getRoomId() === roomId) {
|
||||
dis.dispatch({action: 'view_next_room'});
|
||||
dis.dispatch({action: 'view_home_page'});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue