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: jumpToMessage doesn't work with system messages #2114

Open
ecemac opened this issue Oct 5, 2023 · 1 comment
Open

bug: jumpToMessage doesn't work with system messages #2114

ecemac opened this issue Oct 5, 2023 · 1 comment
Labels
bug Something isn't working status: unconfirmed

Comments

@ecemac
Copy link

ecemac commented Oct 5, 2023

Describe the bug

I'm not sure if this would count as a bug, but jumpToMessage function in useChannelActionContext does not work with system messages. I was asked to provide a custom system message when I receive one from the backend, with a custom payload. This system message can also be replied to, and it shows up as a QuotedMessage in message list. However when I click on the quoted message with the custom system message, even though it has the correct id, it doesn't jump to the quoted system message.

To Reproduce

Steps to reproduce the behavior:

  1. Create a Custom System Message
  2. Make it replyable with setQuotedMessage
  3. Render it in QuotedMessage
  4. Click the quoted system message

Expected behavior

It should jump to quoted system message, like every regular quoted message does.

Package version

  • stream-chat-react: 10.8.0
  • stream-chat-css: 3.9.1
  • stream-chat-js: 8.6.0

Desktop (please complete the following information):

  • OS: Macbook Pro M1
  • Browser [e.g. chrome, safari] Chrome
  • Version [e.g. 22] 114.0.5735.198
@ecemac ecemac added bug Something isn't working status: unconfirmed labels Oct 5, 2023
@MartinCupela
Copy link
Contributor

@ecemac thank you for the report. Let us check this out in the upcoming few days.

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

2 participants