Rocket.Chat
Rocket.Chat copied to clipboard
[FIX] Attachments by ignored users not getting ignored
Proposed changes (including videos or screenshots)
As mentioned in #23315 , even after ignoring a user, the attachments were still visible. After having a look, I realised it was because of not verifying the ignored status before displaying the attachments. So I have added a check in the template to verify that the user is not ignored.
Issue(s)
Closes #23315
Steps to test or reproduce
Mentioned in the issue
Further comments
Please suggest if there is a better approach.
This has been fixed by other means and may be closed.