fix: user blocking feedback #6488
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Description
Fixes #6315
What does this PR change?
This PR adds a toast message for when you block/unblock a user so that the feedback is always present.
On top of that, it solves the issue of the user context menu staying open after clicking on "Block" making it report the wrong friend status.
This PR also handles the nearby and community chat user states: when you block/unblock someone, the user list now reacts properly hiding/showing the user.
There was also a bug in the community chat: if a blocked user sent a message, you were able to see it. This was caused because the filter was checking the livekit proxy address instead of the real sender.
Test Instructions
Prerequisites
Test Steps
Test cases:
These should be most of them if not all. If I missed some combination, feel free to add them.
Quality Checklist
Code Review Reference
Please review our Code Review Standards before submitting.