-
Notifications
You must be signed in to change notification settings - Fork 13k
fix: Switching from DM to channel throws an error #35269
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
Conversation
|
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: 1bc2e3d The changes in this PR will be included in the next version bump. This PR includes changesets to release 35 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #35269 +/- ##
========================================
Coverage 59.44% 59.44%
========================================
Files 2829 2829
Lines 68326 68326
Branches 15131 15131
========================================
Hits 40614 40614
Misses 25054 25054
Partials 2658 2658
Flags with carried forward coverage won't be shown. Click here to find out more. |
|
/backport 7.3.6 |
|
Pull request #36266 added to Project: "Patch 7.3.6" |
Proposed changes (including videos or screenshots)
There are 2 things that in conjunction cause this issue:
RoomRoute component was keeping it's state when transitioning through different rooms. This causes the room's
typeandreference(id or name) property to be incorrectly extracted from the URL, and reference becomesnull.getRoomByTypeAndNamemethod returns the first DM subscription ever created if you send the parameters type as'd'and name asnull. It only results in that DM if you have access to it (e.g you created or is part of it), so it's not a security issue, but shouldn't happen.Issue(s)
CORE-1060
Steps to test or reproduce
Further comments