Skip to content

Commit

Permalink
regression: room with hideUnreadStatus showing on unread list (#33704)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti authored and ggazzo committed Oct 23, 2024
1 parent e181eb2 commit 74ebb9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/meteor/client/sidebarv2/hooks/useRoomList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const useRoomList = ({
return incomingCall.add(room);
}

if (sidebarShowUnread && (room.alert || room.unread)) {
if (sidebarShowUnread && (room.alert || room.unread) && !room.hideUnreadStatus) {
return unread.add(room);
}

Expand Down

0 comments on commit 74ebb9e

Please sign in to comment.