Skip to content

Commit 168ae43

Browse files
authored
Merge pull request #10337 from Santhosh-Sellavel/santhosh-room_timezone
Restricted for timezone for chat rooms
2 parents f420889 + 48ce9c8 commit 168ae43

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libs/ReportUtils.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ function canShowReportRecipientLocalTime(personalDetails, report) {
323323
const reportRecipient = personalDetails[participantsWithoutExpensifyEmails[0]];
324324
const reportRecipientTimezone = lodashGet(reportRecipient, 'timezone', CONST.DEFAULT_TIME_ZONE);
325325
return !hasMultipleParticipants
326+
&& !isChatRoom(report)
326327
&& reportRecipient
327328
&& reportRecipientTimezone
328329
&& reportRecipientTimezone.selected;

0 commit comments

Comments
 (0)