diff --git a/src/components/views/rooms/RoomSublist.tsx b/src/components/views/rooms/RoomSublist.tsx index e5e4d0d3fe..adccfb549e 100644 --- a/src/components/views/rooms/RoomSublist.tsx +++ b/src/components/views/rooms/RoomSublist.tsx @@ -443,7 +443,7 @@ export default class RoomSublist extends React.Component { // 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; }); }