mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 10:45:51 +03:00
Appease the linter
This commit is contained in:
parent
dd42e87c3c
commit
a71b4f5b4c
1 changed files with 2 additions and 1 deletions
|
@ -99,12 +99,13 @@ 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
onMyMembership = (room, membership) => {
|
||||
if (membership === "leave" || membership === "ban") {
|
||||
|
|
Loading…
Reference in a new issue