Fix: incorrect recipient after switching invoice rooms#78758
Conversation
|
@DylanDylann Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
@cretadn22 I got an error while sending invoice. Did you see it?
|
trjExpensify
left a comment
There was a problem hiding this comment.
Makes sense the newly selected recipient is respected! 👍
…e generating a new report ID
|
@DylanDylann The issue above happened because the isInvoiceRoomWithID check was removed. I’ve added it back now. Could you please take another look and review? Thanks! |
…ctedReportID logic
|
@cretadn22 I’m seeing the loading screen when testing. It only happens the first time, after I go back from the Send Invoice flow and then click into it again Screen.Recording.2026-01-07.at.15.31.03.mov |
|
@DylanDylann This issue exists on the main branch and isn’t related to this change. I checked the this problem and found that it was introduced by #78752 |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-01-08.at.18.59.34.movAndroid: mWeb ChromeScreen.Recording.2026-01-08.at.18.59.34.moviOS: HybridAppScreen.Recording.2026-01-08.at.18.59.05.moviOS: mWeb SafariScreen.Recording.2026-01-08.at.18.57.25.movMacOS: Chrome / SafariScreen.Recording.2026-01-08.at.18.46.57.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.2.97-0 🚀
|
|
🚀 Deployed to staging by https://github.com/blimpich in version: 9.2.99-0 🚀
|
|
For reference, this PR was reverted after these deploy blockers came up: |
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.2.99-8 🚀
|

Explanation of Change
Fixed Issues
$ #71723
PROPOSAL: #71723 (comment)
Tests
Preconditions:
Offline tests
QA Steps
Preconditions:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2026-01-02.at.00.40.50.mov
Android: mWeb Chrome
Screen.Recording.2026-01-02.at.00.37.02.mov
iOS: Native
Screen.Recording.2026-01-02.at.00.36.30.mov
iOS: mWeb Safari
Screen.Recording.2026-01-02.at.00.34.35.mov
MacOS: Chrome / Safari
Screen.Recording.2026-01-02.at.00.27.09.mov