You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
Appease the linter
This commit is contained in:
@@ -99,10 +99,11 @@ export default class RoomBreadcrumbs extends React.Component {
|
|||||||
|
|
||||||
// XXX: slight hack in order to zero the notification count when a room
|
// XXX: slight hack in order to zero the notification count when a room
|
||||||
// is read. Copied from RoomTile
|
// is read. Copied from RoomTile
|
||||||
case 'on_room_read':
|
case 'on_room_read': {
|
||||||
const room = MatrixClientPeg.get().getRoom(payload.roomId);
|
const room = MatrixClientPeg.get().getRoom(payload.roomId);
|
||||||
this._calculateRoomBadges(room, /*zero=*/true);
|
this._calculateRoomBadges(room, /*zero=*/true);
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user