-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
[FIX] Several problems with read-only rooms and muted users #11311
Conversation
…Rocket.Chat into fix.post-readonly-permission
@Hudell wouldn't be better to ignore the array of muted users since we are putting everyone in there? |
Looks like there are some places where only the |
With the new changes, the I've also added a migration to clear the |
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.
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.
@Hudell can you please take a look on tests? |
@Hudell can you fix the tests? |
Closes #4769
The permission was checked when adding users to readonly channel (to determine if they are muted or not) but if the user received or lost the permission later, it would never be checked again.