From 2a3f27dbf47f483e96faf5063d43fb0b9e8c290e Mon Sep 17 00:00:00 2001 From: Roji Philip Date: Thu, 18 Jul 2024 23:26:10 +0530 Subject: [PATCH] ignore all type of thread reports --- src/libs/ReportUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/ReportUtils.ts b/src/libs/ReportUtils.ts index 90a0757b5e85..4ff97c17327a 100644 --- a/src/libs/ReportUtils.ts +++ b/src/libs/ReportUtils.ts @@ -1100,7 +1100,7 @@ function isSystemChat(report: OnyxEntry): boolean { */ function isConciergeChatReport(report: OnyxInputOrEntry): boolean { const participantAccountIDs = Object.keys(report?.participants ?? {}).filter((accountID) => Number(accountID) !== currentUserAccountID); - return participantAccountIDs.length === 1 && Number(participantAccountIDs[0]) === CONST.ACCOUNT_ID.CONCIERGE && !isChatThread(report); + return participantAccountIDs.length === 1 && Number(participantAccountIDs[0]) === CONST.ACCOUNT_ID.CONCIERGE && !isThread(report); } function findSelfDMReportID(): string | undefined {