From 74ebb9e89db8074b7da814fc8bbeeaacd6741bda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BAlia=20Jaeger=20Foresti?= <60678893+juliajforesti@users.noreply.github.com> Date: Tue, 22 Oct 2024 21:27:03 -0300 Subject: [PATCH] regression: room with `hideUnreadStatus` showing on unread list (#33704) --- apps/meteor/client/sidebarv2/hooks/useRoomList.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/client/sidebarv2/hooks/useRoomList.ts b/apps/meteor/client/sidebarv2/hooks/useRoomList.ts index af6e2029fa9..5f9a1234c26 100644 --- a/apps/meteor/client/sidebarv2/hooks/useRoomList.ts +++ b/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); }