Appease the linter

pull/21833/head
Travis Ralston 2019-06-03 00:17:08 -06:00
parent dd42e87c3c
commit a71b4f5b4c
1 changed files with 2 additions and 1 deletions

View File

@ -99,10 +99,11 @@ export default class RoomBreadcrumbs extends React.Component {
// XXX: slight hack in order to zero the notification count when a room
// is read. Copied from RoomTile
case 'on_room_read':
case 'on_room_read': {
const room = MatrixClientPeg.get().getRoom(payload.roomId);
this._calculateRoomBadges(room, /*zero=*/true);
break;
}
}
}