diff --git a/src/libs/SidebarUtils.ts b/src/libs/SidebarUtils.ts index 675760dab92f..454afc18cc14 100644 --- a/src/libs/SidebarUtils.ts +++ b/src/libs/SidebarUtils.ts @@ -770,6 +770,7 @@ function getOptionData({ hasMultipleParticipants, localeCompare, formatPhoneNumberPhoneUtils, + undefined, isSelfDM(report), ); diff --git a/src/pages/home/HeaderView.tsx b/src/pages/home/HeaderView.tsx index 915e816319dc..029702362f40 100644 --- a/src/pages/home/HeaderView.tsx +++ b/src/pages/home/HeaderView.tsx @@ -132,7 +132,7 @@ function HeaderView({report, parentReportAction, onNavigationMenuButtonClicked, const isMultipleParticipant = participants.length > 1; const participantPersonalDetails = getPersonalDetailsForAccountIDs(participants, personalDetails); - const displayNamesWithTooltips = getDisplayNamesWithTooltips(participantPersonalDetails, isMultipleParticipant, localeCompare, formatPhoneNumber, isSelfDM); + const displayNamesWithTooltips = getDisplayNamesWithTooltips(participantPersonalDetails, isMultipleParticipant, localeCompare, formatPhoneNumber, undefined, isSelfDM); const isChatThread = isChatThreadReportUtils(report); const isChatRoom = isChatRoomReportUtils(report);