Rocket.Chat
Rocket.Chat copied to clipboard
Caching issue -- Problems when owner is removed from a team or channel and then added again
Description:
There's a caching issue when a user is removed and then re-added to a room. If the user was an owner, after he is added back it shows as if he was still an owner. If you refresh the screen you will see that he is no longer an owner (which is the correct behavior)
Steps to reproduce:
- Add a new admin user to a channel or team.
- Remove the user.
- Add the user back, When adding it back, the user is still shown as an owner.
Expected behavior:
The user should not be shown as an owner.
Actual behavior:
The user is shown as an owner
https://github.com/user-attachments/assets/29e53091-b510-4762-acec-09babbc3b916