Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.48k stars 2.83k forks source link

Track - Tracked expense appears on Self-DM chat in LHN when share it offline #50877

Open IuliiaHerets opened 1 day ago

IuliiaHerets commented 1 day ago

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: v9.0.49-0 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): applausetester+gm103116@applause.expensifail.com Issue reported by: Applause Internal Team

Action Performed:

  1. Go offline
  2. Go to LHN> Track expense> Complete the flow
  3. Select Share with my accountant> Complete the flow
  4. Go online
  5. Take a look at Self DM chat at LHN

Expected Result:

Tracked expense should not appear since it is already shared

Actual Result:

Shared expense appears on Self-DM chat in LHN when user come back online

Workaround:

Unknown

Platforms:

Screenshots/Videos

https://github.com/user-attachments/assets/30eb893e-1fe8-4182-a6db-e49dd7e67ee2

View all open jobs on GitHub

melvin-bot[bot] commented 1 day ago

Triggered auto assignment to @lschurr (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.

IuliiaHerets commented 1 day ago

@lschurr FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

FitseTLT commented 1 day ago

BTW we are setting the correct lastMessage value, the problem is what the BE is setting. So should be fixed in BE.