Skip to content

Commit

Permalink
Fixing zoom and google items being accessible after room achieving
Browse files Browse the repository at this point in the history
  • Loading branch information
abzokhattab committed Oct 6, 2023
1 parent 4b0752a commit a3cdfd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/home/HeaderView.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function HeaderView(props) {
const isCanceledTaskReport = ReportUtils.isCanceledTaskReport(props.report, parentReportAction);
const lastVisibleMessage = ReportActionsUtils.getLastVisibleMessage(props.report.reportID);
const isEmptyChat = !props.report.lastMessageText && !props.report.lastMessageTranslationKey && !lastVisibleMessage.lastMessageText && !lastVisibleMessage.lastMessageTranslationKey;
const isArchivedRoom = ReportUtils.isArchivedRoom(props.report);

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

0 comments on commit a3cdfd0

Please sign in to comment.