Description
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.2.90-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: https://test-management.browserstack.com/projects/2219752/test-runs/TR-2595/folder/13176682/41236558/1101372284?q=self+dm&issue_type=jira
Email or phone of affected tester (no customers): sjndoijsndoijdniojosj2@gmail.com
Issue reported by: Applause Internal Team
Bug source: Regression TC Execution
Device used: Mac 26.1 / Chrome
App Component: Chat Report View
Action Performed:
- Go to staging.new.expensify.com
- Go to self DM.
- Send a message,
Expected Result:
Self DM title will show [Name] (You).
Actual Result:
Self DM title only shows [Name] without (You).
It shows [Name] (You) in search list.
Workaround:
Unknown
Platforms:
- Android: App
- Android: mWeb Chrome
- iOS: App
- iOS: mWeb Safari
- iOS: mWeb Chrome
- Windows: Chrome
- MacOS: Chrome / Safari
Screenshots/Videos
1.mp4
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~022006670622924556416
- Upwork Job ID: 2006670622924556416
- Last Price Increase: 2026-01-01
Issue Owner
Current Issue Owner: @bfitzexpensifyMetadata
Metadata
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
melvin-bot commentedon Jan 1, 2026
Triggered auto assignment to @bfitzexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.samranahm commentedon Jan 1, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
When a user accesses their self Direct Message (DM), the chat title displays only the user's name (e.g., "[Name]") without the "(You)" label that should distinguish it as the user's own DM. This is inconsistent with how self DMs appear in the search list, where they correctly display "[Name] (You)".
What is the root cause of that problem?
The DisplayNames component has two display modes:
shouldUseFullTitle = trueUses the pre-computed fullTitle string from
getReportName()For self-DM, this includes "(you)" postfix added.
shouldUseFullTitle = falseIt dynamically builds display from
displayNamesWithTooltipsarray and shows "Name1, Name2, Name3..." with individual tooltips.Therefore it does not add "(you)" postfix because tooltips are just participant names
What changes do you think we should make in order to solve the problem?
We should pass
!!optionItem.isSelfDMinOptionRowLHNhereApp/src/components/LHNOptionsList/OptionRowLHN.tsx
Lines 283 to 293 in ae4cd7c
and
isSelfDMinHeaderViewhereApp/src/pages/home/HeaderView.tsx
Line 317 in ae4cd7c
This will ensure when we are in
selfDMreport orselfDMis in LHN we always get (You) postfix because it will only have one member (current user)What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
samranahm commentedon Jan 1, 2026
PROPOSAL UPDATED
[-]Web - Chat - Self DM title only shows [Name] without (You)[/-][+][$250] Web - Chat - Self DM title only shows [Name] without (You)[/+]melvin-bot commentedon Jan 1, 2026
Job added to Upwork: https://www.upwork.com/jobs/~022006670622924556416
melvin-bot commentedon Jan 1, 2026
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (
External)nyomanjyotisa commentedon Jan 1, 2026
🚨 Edited by proposal-police: This proposal was edited at 2026-01-01 10:42:46 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Web - Chat - Self DM title only shows [Name] without (You)
What is the root cause of that problem?
When calling
getDisplayNamesWithTooltipsfor Self DM,isSelfDMis passed as the 5th parameter, but the function signature uses the 5th parameter forshouldFallbackToHiddenand the 6th parameter forshouldAddCurrentUserPostfixApp/src/pages/home/HeaderView.tsx
Line 140 in 66de3d6
App/src/libs/ReportUtils.ts
Lines 3884 to 3891 in 66de3d6
So
isSelfDMis used asshouldFallbackToHiddeninstead ofshouldAddCurrentUserPostfixWhat changes do you think we should make in order to solve the problem?
We need to pass
isSelfDMas the 6th parameter instead of the 5th parameterApp/src/pages/home/HeaderView.tsx
Line 140 in 66de3d6
We could pass
isSelfDMin the LHN as well if neededApp/src/libs/SidebarUtils.ts
Lines 768 to 774 in 66de3d6
What alternative solutions did you explore? (Optional)
None
16 remaining items
allgandalf commentedon Jan 8, 2026
PR in review
allgandalf commentedon Jan 12, 2026
PR approved
[-][$250] Web - Chat - Self DM title only shows [Name] without (You)[/-][+][Due for payment 2026-01-21] [$250] Web - Chat - Self DM title only shows [Name] without (You)[/+]melvin-bot commentedon Jan 14, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jan 14, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.0-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-01-21. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jan 14, 2026
@shubham1206agra @bfitzexpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
allgandalf commentedon Jan 14, 2026
Unassigning myself and unsubscribing, please ping me if something is needed from my side
mountiny commentedon Jan 14, 2026
I think there are no payments needed here as it was a follow up so we can close