You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$250] Self DM is seen after creating account with Chat and split with friends #72874
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Sign in to staging.new.expensify.com with a new account
In the onboarding modal, select "Chat and Split with friends" and fill out the rest as desired
In search bar search for the email address used to sign in to
Expected Result:
Self DM is not seen
Actual Result:
Self DM can be searched in search and when navigated to Self Dm can be seen for a moment before an error "Auth OpenReport returned an error" is displayed at the bottom
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug6977637_1760698716219.bandicam_2025-10-17_13-44-02-452.mp4
Please re-state the problem that we are trying to solve in this issue.
Self DM can be searched in search and when navigated to Self Dm can be seen for a moment before an error "Auth OpenReport returned an error" is displayed at the bottom
What changes do you think we should make in order to solve the problem?
Should change to false
Note: We may check all the places that call getSearchOptions to pass the correct value of includeCurrentUser
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.
What changes do you think we should make in order to solve the problem?
We need to check if the user has selected "Chat and split with friends" in the onboarding flow, then we set this option as false otherwise it should always be true, for that we need the following changes:
We can check other places as well where we are using getSearchOptions function and see if we need any changes there.
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.
changed the title [-]Self DM is seen after creating account with Chat and split with friends[/-][+][$250] Self DM is seen after creating account with Chat and split with friends[/+]on Oct 21, 2025
@Burhan-Rashid: Your proposal is similar to the first one that checks introSelected. I don't think this is necessary because we have other introSelected without sell DM as well.
@lorretheboy: After checking the the git, includeCurrentUser was mistakenly added in PR #70409. Previously, includeCurrentUser was false.
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Activity
melvin-bot commentedon Oct 17, 2025
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.lorretheboy commentedon Oct 17, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Self DM can be searched in search and when navigated to Self Dm can be seen for a moment before an error "Auth OpenReport returned an error" is displayed at the bottom
What is the root cause of that problem?
We include self DM here
App/src/components/Search/SearchAutocompleteList.tsx
Line 202 in ea72aea
What changes do you think we should make in order to solve the problem?
Should change to false
Note: We may check all the places that call
getSearchOptionsto pass the correct value ofincludeCurrentUserWhat 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.
Burhan-Rashid commentedon Oct 17, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Self DM is seen after creating account with Chat and split with friends
What is the root cause of that problem?
We are always including having includeCurrentUser: true in getSearchOptions here:
App/src/components/Search/SearchAutocompleteList.tsx
Lines 192 to 205 in a0b659d
What changes do you think we should make in order to solve the problem?
We need to check if the user has selected "Chat and split with friends" in the onboarding flow, then we set this option as false otherwise it should always be true, for that we need the following changes:
App/src/components/Search/SearchAutocompleteList.tsx
Line 180 in a0b659d
App/src/components/Search/SearchAutocompleteList.tsx
Line 202 in a0b659d
We can check other places as well where we are using getSearchOptions function and see if we need any changes there.
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.
gijoe0295 commentedon Oct 17, 2025
Can be a back-end issue,
SearchForReportsresponds the self-DM even when it's suppose not to exist.melvin-bot commentedon Oct 21, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021980578529030494823
[-]Self DM is seen after creating account with Chat and split with friends[/-][+][$250] Self DM is seen after creating account with Chat and split with friends[/+]6 remaining items
lorretheboy commentedon Oct 23, 2025
@Burhan-Rashid Could u please clarify a bit. It is different change, I don't really know how it can bring back that previous issue here
Burhan-Rashid commentedon Oct 23, 2025
I am not 100% sure but seeing this value true was added in your previous PR, i thought if we move it to false directly, it might affect there.
lorretheboy commentedon Oct 23, 2025
@Burhan-Rashid they are 2 different places. I think I dont revert anything from that PR
linhvovan29546 commentedon Oct 24, 2025
Thank you all for the proposals:
@Burhan-Rashid: Your proposal is similar to the first one that checks
introSelected. I don't think this is necessary because we have otherintroSelectedwithout sell DM as well.@lorretheboy: After checking the the git,
includeCurrentUserwas mistakenly added in PR #70409. Previously,includeCurrentUserwasfalse.linhvovan29546 commentedon Oct 24, 2025
We can move forward with @lorretheboy's proposal, we only need to update this
App/src/components/Search/SearchAutocompleteList.tsx
Line 202 in ea72aea
🎀 👀 🎀 C+ reviewed
melvin-bot commentedon Oct 24, 2025
Triggered auto assignment to @MonilBhavsar, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
Burhan-Rashid commentedon Oct 24, 2025
lorretheboy commentedon Oct 24, 2025
They are 2 different changes
In this PR #68841, it set
trueto search function for exporter, from,....However, what I suggested in my proposal is changing this place
So I think there is no conflict here @Burhan-Rashid Please correct me if I'm wrong or could you please let me know how it can effect please?
Burhan-Rashid commentedon Oct 24, 2025
@lorretheboy I might have mistaken both the changes on the same place, Sorry for that. I have hidden my comment.
MonilBhavsar commentedon Oct 27, 2025
We're already working on an update internally where we are creating self DM's for all users going forward, and users will be able to search it from the search bar in https://github.com/Expensify/Expensify/issues/556957
So going to close it. Thanks for the proposals though. cc @linhvovan29546 @bfitzexpensify