Skip to content

Commit 98f3b43

Browse files
authored
Merge pull request #28992 from abzokhattab/fixing-zoom-and-google-items-being-shown-after-archeiving-rooms
Fixing zoom and google items being accessible after room achieving
2 parents 5dc3c25 + a3cdfd0 commit 98f3b43

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/pages/home/HeaderView.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ function HeaderView(props) {
8888
const isCanceledTaskReport = ReportUtils.isCanceledTaskReport(props.report, parentReportAction);
8989
const lastVisibleMessage = ReportActionsUtils.getLastVisibleMessage(props.report.reportID);
9090
const isEmptyChat = !props.report.lastMessageText && !props.report.lastMessageTranslationKey && !lastVisibleMessage.lastMessageText && !lastVisibleMessage.lastMessageTranslationKey;
91+
const isArchivedRoom = ReportUtils.isArchivedRoom(props.report);
9192

9293
// We hide the button when we are chatting with an automated Expensify account since it's not possible to contact
9394
// these users via alternative means. It is possible to request a call with Concierge so we leave the option for them.
@@ -159,7 +160,7 @@ function HeaderView(props) {
159160
Link.openExternalLink(props.guideCalendarLink);
160161
},
161162
});
162-
} else if (!isAutomatedExpensifyAccount && !isTaskReport) {
163+
} else if (!isAutomatedExpensifyAccount && !isTaskReport && !isArchivedRoom) {
163164
threeDotMenuItems.push({
164165
icon: ZoomIcon,
165166
iconFill: themeColors.icon,

0 commit comments

Comments
 (0)