-
Notifications
You must be signed in to change notification settings - Fork 224
Fix left room membership change #4765
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
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4765 +/- ##
===========================================
+ Coverage 80.40% 80.43% +0.02%
===========================================
Files 2143 2143
Lines 56766 56769 +3
Branches 7119 7120 +1
===========================================
+ Hits 45644 45660 +16
+ Misses 8685 8672 -13
Partials 2437 2437 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
ensureAllEventsConsumed() | ||
} | ||
rustBaseRoom.destroy() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe create a private fun to avoid all the code duplication for those 3 tests?
|
Content
Ensure the right message is used when leaving room, according to the current membership :
Also add some tests to ensure the
room.leave
triggers the correct membership change.Motivation and context
Fix regression from removing RoomPreview
leave
usage.Because of this the message was always "Left room".
Screenshots / GIFs
No ui change.
Tests
Tested devices
Checklist