-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thread - Unable to invite user to thread when the thread originates from group chat #39332
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @arosiclair ( |
We think that this bug might be related to #vip-vsp |
@arosiclair 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 |
Response from backend:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Unable to invite user to thread when the thread originates from group chat What is the root cause of that problem?The backend returns What changes do you think we should make in order to solve the problem?we need to make the invite room command conditional on whether the parent report is a group chat or not, if its a group chat then we need to send to achieve that we need to add a new write command INVITE_TO_GROUP_CHAT: 'InviteToGroupChat', then inside the const parentReport = currentReportData?.[report.parentReportID];
const isParentReportGroupChat = ReportUtils.isGroupChat(parentReport);
API.write(isParentReportGroupChat ? WRITE_COMMANDS.INVITE_TO_GROUP_CHAT : WRITE_COMMANDS.INVITE_TO_ROOM, parameters, {optimisticData, successData, failureData}); |
I reproduced on staging and prod v1.4.57-5 so this is not a blocker |
Triggered auto assignment to @adelekennedy ( |
I think this probably should be internal but I'm not sure. @marcaaron I saw your name on |
This depends on the outcome of https://expensify.slack.com/archives/C066HJM2CAZ/p1712005980413999 I'm not sure if we intentionally designed this feature to work any kind of way, but proposed a couple of paths forward in that thread. Gonna stay assigned here so I don't lose the context here. But maybe let's remove the |
@marcaaron Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I'm gonna close this one in favor of https://github.com/Expensify/Expensify/issues/384761 That lays out in clearer terms how this feature should work. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.58-4
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
User is invited successfully
Actual Result:
User is not invited to the thread when the thread originates from group chat. The member count changes from 2 back to 1.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6432864_1711831103828.20240331_043315.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: