From 9df5a0b936fe3bc25c80bccc33f872e201b652f5 Mon Sep 17 00:00:00 2001 From: Yuwen Memon Date: Mon, 26 Jul 2021 15:44:05 -0700 Subject: [PATCH] Make sure we get state/status from the right variable name when we get chat report name --- src/libs/actions/Report.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/actions/Report.js b/src/libs/actions/Report.js index 94347c7608c..09e9875d19e 100644 --- a/src/libs/actions/Report.js +++ b/src/libs/actions/Report.js @@ -140,8 +140,8 @@ function getChatReportName(fullReport, chatType) { if (isDefaultRoom({chatType})) { return `#${fullReport.reportName}${(isArchivedRoom({ chatType, - stateNum: fullReport.stateNum, - statusNum: fullReport.reportStatus, + stateNum: fullReport.state, + statusNum: fullReport.status, }) ? ` (${translateLocal('common.deleted')})` : '')}`;