Fix: Ensure deleted messages are removed from starred and pinned message sidebars
Brief Title
This pull request addresses the issue where messages deleted from the main chat interface do not get removed from the starred messages sidebar modal and the pinned messages sidebar modal. The solution involves updating the state for starred and pinned messages in real-time when a message is deleted from the main chat interface.
Fixes #861
Video/Screenshots
https://github.com/user-attachments/assets/93071f1d-fa71-4c50-b325-2a73c175bb6c
PR Test Details
Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-<pr_number> after approval. Contributors are requested to replace <pr_number> with the actual PR number.
Hi @Spiral-Memory, could you kindly review PR #854 ? The issue addressed in this PR cannot be fully resolved unless PR #854 is merged.