From 48ce9c86a00255f8c8acd87d9a0e8cc1f2ce33fd Mon Sep 17 00:00:00 2001 From: Santhoshkumar Sellavel <85645967+Santhosh-Sellavel@users.noreply.github.com> Date: Wed, 10 Aug 2022 18:31:35 +0530 Subject: [PATCH] Restricted for timezone for chat rooms --- src/libs/ReportUtils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/ReportUtils.js b/src/libs/ReportUtils.js index 515101b5665..40793311fb7 100644 --- a/src/libs/ReportUtils.js +++ b/src/libs/ReportUtils.js @@ -323,6 +323,7 @@ function canShowReportRecipientLocalTime(personalDetails, report) { const reportRecipient = personalDetails[participantsWithoutExpensifyEmails[0]]; const reportRecipientTimezone = lodashGet(reportRecipient, 'timezone', CONST.DEFAULT_TIME_ZONE); return !hasMultipleParticipants + && !isChatRoom(report) && reportRecipient && reportRecipientTimezone && reportRecipientTimezone.selected;