You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Type a message or use any previous message.
Open the pinned messages sidebar from top right corner menu.
Try pinning the message.
Message gets pinned but :
-is not shown in the menu
-pin icon is still outline
-pinned icon is not visible beside the message
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:
eroor.mov
The text was updated successfully, but these errors were encountered:
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?
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:
-is not shown in the menu
-pin icon is still outline
-pinned icon is not visible beside the message
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:
eroor.mov
The text was updated successfully, but these errors were encountered: