stream-chat-react icon indicating copy to clipboard operation
stream-chat-react copied to clipboard

bug: messageActions do not update realtime after change permisstion on dashboard

Open vihan85 opened this issue 1 year ago • 3 comments

Describe the bug

I am facing when granting message pinning permission is that when BE sets the channel_moderator role for a member in the channel, the pin action does not appear in real time and needs to be reloaded even though I have passed in the MessageList messageActions={['edit ', 'quote', 'delete', 'react', 'reply', 'pin']}

Expected behavior

Update realtime permission change permisstion on dashboard

Package version

"stream-chat": "^8.51.0" "@stream-io/stream-chat-css": "^5.6.1" "stream-chat-react": "^12.8.2",

vihan85 avatar Feb 20 '25 02:02 vihan85

Hello @vihan85 , could you recreate the setup you have in a forked sandbox, please? (https://codesandbox.io/p/devbox/support-to-fork-template-qckdm5)

MartinCupela avatar Feb 20 '25 08:02 MartinCupela

Hi @MartinCupela,

You can view my recoding below

https://drive.google.com/drive/folders/1VMyvVE5B46wGaqDRpL9y2pqk4qKNA-aI

Description action "Made acmin": Action "Made acmin" is that I am requesting to run the code below on the backend side to grant the user named "Test Permission" to pin messages.

Image

vihan85 avatar Feb 25 '25 04:02 vihan85

hi @MartinCupela.

Could you please let me know what your upcoming plan is for this matter?

vihan85 avatar Oct 09 '25 04:10 vihan85