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: Cannot edit your own messages once they have been pinned by others. #2604

Closed
vihan85 opened this issue Jan 16, 2025 · 2 comments
Closed
Labels
bug Something isn't working status: unconfirmed

Comments

@vihan85
Copy link

vihan85 commented Jan 16, 2025

Describe the bug

I have a group has 2 member
Member 1: has role channel_role: channel_member (can not pin message)
Member 2: has role channel_role: channel_moderator (can pin message)

To Reproduce

Steps to reproduce the behavior:

step 1: Member 1 send message 'Test edit'
step 2: Member 2 pin message 'Test edit'
step 3: Member 1 edit message 'Test edit' => show error

Expected behavior

Allow editing of your own messages even if they have been pinned by others

Screenshots
Video: https://drive.google.com/drive/folders/1Ss82LrayexkrCV8G9EWSpMhFl7fV5xXE

Image

Package version

  • stream-chat-react: ^12.6.0
  • stream-chat: "^8.40.9"
@vihan85 vihan85 added bug Something isn't working status: unconfirmed labels Jan 16, 2025
@luisgereda
Copy link

Hi,

Our GH repository is reserved for bug reports for the SDK.
This seems to be a report request or a bug in our backend.

To continue supporting you, please reach out to us here:
https://getstream.io/contact/support/

One of our support engineers is going to be able to help you

@vihan85
Copy link
Author

vihan85 commented Jan 19, 2025

Hi,

Our GH repository is reserved for bug reports for the SDK. This seems to be a report request or a bug in our backend.

To continue supporting you, please reach out to us here: https://getstream.io/contact/support/

One of our support engineers is going to be able to help you

hi @luisgereda

Another problem 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']}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status: unconfirmed
Projects
None yet
Development

No branches or pull requests

3 participants