Skip to content

Commit

Permalink
fix: room notification level
Browse files Browse the repository at this point in the history
  • Loading branch information
ifaouibadi committed Jan 30, 2024
1 parent 49764d1 commit d6c8392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/views/rooms/RoomSublist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
}

Expand Down

0 comments on commit d6c8392

Please sign in to comment.