From ce799404684e116d26580092eb2e710d7d2de9dc Mon Sep 17 00:00:00 2001 From: "Hans (via MelvinBot)" Date: Wed, 20 May 2026 11:11:42 +0000 Subject: [PATCH] Exempt policy rooms from excludeHidden filter in search Workspace rooms (POLICY_ROOM) should always be discoverable by workspace members via search, regardless of notificationPreference. After opening a workspace room, the backend merges a 'hidden' participant entry which caused the room to disappear from subsequent searches. Co-authored-by: Hans --- src/libs/OptionsListUtils/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/OptionsListUtils/index.ts b/src/libs/OptionsListUtils/index.ts index 381a139e70cc..72c526c292c3 100644 --- a/src/libs/OptionsListUtils/index.ts +++ b/src/libs/OptionsListUtils/index.ts @@ -2401,6 +2401,7 @@ function getValidOptions( !report.isTaskReport && report.item?.chatType !== CONST.REPORT.CHAT_TYPE.SELF_DM && report.item?.chatType !== CONST.REPORT.CHAT_TYPE.POLICY_ADMINS && + report.item?.chatType !== CONST.REPORT.CHAT_TYPE.POLICY_ROOM && report.item?.chatType !== CONST.REPORT.CHAT_TYPE.GROUP && !report.private_isArchived ) {