From 2a7fce3fe6c751c7af9f01d4c50ceae992de2183 Mon Sep 17 00:00:00 2001 From: Srikar Parsi <48188732+srikarparsi@users.noreply.github.com> Date: Mon, 17 Jul 2023 13:05:23 -0500 Subject: [PATCH] Revert "Hide muted chats from LHN" --- src/components/LHNOptionsList/OptionRowLHN.js | 5 ----- src/libs/SidebarUtils.js | 1 - 2 files changed, 6 deletions(-) diff --git a/src/components/LHNOptionsList/OptionRowLHN.js b/src/components/LHNOptionsList/OptionRowLHN.js index 84c1e5c6d7da..267d357032b0 100644 --- a/src/components/LHNOptionsList/OptionRowLHN.js +++ b/src/components/LHNOptionsList/OptionRowLHN.js @@ -78,11 +78,6 @@ function OptionRowLHN(props) { return null; } - const isMuted = optionItem.notificationPreference === CONST.REPORT.NOTIFICATION_PREFERENCE.MUTE; - if (isMuted && !props.isFocused && !optionItem.isPinned) { - return null; - } - let popoverAnchor = null; const textStyle = props.isFocused ? styles.sidebarLinkActiveText : styles.sidebarLinkText; const textUnreadStyle = optionItem.isUnread ? [textStyle, styles.sidebarLinkTextBold] : [textStyle]; diff --git a/src/libs/SidebarUtils.js b/src/libs/SidebarUtils.js index d655266f8cfa..7ce126925b24 100644 --- a/src/libs/SidebarUtils.js +++ b/src/libs/SidebarUtils.js @@ -290,7 +290,6 @@ function getOptionData(reportID) { result.tooltipText = ReportUtils.getReportParticipantsTitle(report.participantAccountIDs || []); result.hasOutstandingIOU = report.hasOutstandingIOU; result.parentReportID = report.parentReportID || null; - result.notificationPreference = report.notificationPreference || null; const hasMultipleParticipants = participantPersonalDetailList.length > 1 || result.isChatRoom || result.isPolicyExpenseChat; const subtitle = ReportUtils.getChatRoomSubtitle(report);