Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vihan85 opened this issue Feb 20, 2025 · 2 comments
Labels

Comments

@vihan85
Copy link

vihan85 commented Feb 20, 2025

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 vihan85 added bug Something isn't working status: unconfirmed labels Feb 20, 2025
@MartinCupela
Copy link
Contributor

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

@vihan85
Copy link
Author

vihan85 commented Feb 25, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants