Only auto-scroll to RoomTile when clicking on RoomTile or via shortcuts

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-04-01 10:08:26 +01:00
parent 56dda3895c
commit 8bc54ae205
3 changed files with 4 additions and 2 deletions

View file

@ -289,6 +289,7 @@ export default createReactClass({
dis.dispatch({
action: 'view_room',
room_id: room.roomId,
show_room_tile: true, // to make sure the room gets scrolled into view
});
}
break;