Open Barrylimarti opened 5 days ago
From my investigation, After clicking pin button, the api does get called to pin the message and the response also, comes as success. But the messages from useMessageStore doesn't update the original message with the updated pinned flag. Uploading a console log of messages when pin is clicked for a message. It can be seen that the original object does not change with the pinned key.
But this somehow happens perfectly for starring the message. Can anyone help me solving this issue?
hey @Barrylimarti , The same issue has been mentioned in #653. The pr has been raised to solve the same. You can check the pr #654.
hey @Barrylimarti , The same issue has been mentioned in #653. The pr has been raised to solve the same. You can check the pr #654.
Sure, although there was no need to create a new issue if this was already present. I will check the PR once.
Description:
As a user with pinning permissions, if I pinned a message in the chat, the message does not show the pinned icon immediately and also, it doesn't appear in the pinned message sidebar. However, the opposite behavior of unpinning the message is working immediately. Also, to note that these feature do work for starring the messages.
Steps to reproduce:
Expected behavior:
-should be shown in the sidebar menu -pin icon should be solid indicating pinned -pinned icon should be visible beside the message
Actual behavior:
https://github.com/user-attachments/assets/314c9d64-d81f-4770-811e-57ce8f1bb538