Merge pull request #2582 from matrix-org/bwindels/fixnotifbadgeclickandcursor
Fix: click on notif badge
This commit is contained in:
commit
594bd86a0c
2 changed files with 2 additions and 1 deletions
|
@ -157,7 +157,7 @@ const RoomSubList = React.createClass({
|
|||
// prevent the roomsublist collapsing
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
const room = this.props.lists.find(room => RoomNotifs.getRoomHasBadge(room));
|
||||
const room = this.props.list.find(room => RoomNotifs.getRoomHasBadge(room));
|
||||
if (room) {
|
||||
dis.dispatch({
|
||||
action: 'view_room',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue