regression: room with `hideUnreadStatus` showing on unread list (#33704)

pull/33711/head
Júlia Jaeger Foresti 2 years ago committed by Guilherme Gazzo
parent e181eb2cc5
commit 74ebb9e89d
  1. 2
      apps/meteor/client/sidebarv2/hooks/useRoomList.ts

@ -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);
}

Loading…
Cancel
Save