fix: room notification level

pull/27073/head
Badi ifaoui 2024-01-30 10:47:23 +01:00
parent 49764d1a83
commit d6c8392303
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ export default class RoomSublist extends React.Component<IProps, IState> {
// find the first room with a count of the same colour as the badge count
room = RoomListStore.instance.orderedLists[this.getTagId()].find((r: Room) => {
const notifState = this.notificationState.getForRoom(r);
return notifState.count > 0 && notifState.color === this.notificationState.color;
return notifState.count > 0 && notifState.level === this.notificationState.level;
});
}