-
Notifications
You must be signed in to change notification settings - Fork 322
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
When a user decides to convert a message to a thread for more discussions on the topic, messages are being saved which are sent in the thread but when tried to fetch the thread messages, backend throws an error which says that there were extra unnecessary parameters included in the API endpoint URL.
Steps to reproduce:
- Go to Embedded chat.
- Type a message and click on the threads option.
- Enter a message in the thread.
- Now try to go back and come back to this thread.
- When you check the network section, you can see the backend throws the error as a result of which the messages sent in the threads are not shown to the end user.
Expected behavior:
The threads messages should render correctly.
Actual behavior:
Currently we are hitting the right endpoint but with an extra query parameter which is causing the issue as show in the below snip shot.
EmbeddedChat._.Simple.-.Simple.Storybook.-.Brave.2025-12-06.00-46-48.mp4
Endpoint being hit:
http://localhost:3000/api/v1/chat.getThreadMessages?roomId=GENERAL&tmid=ec_5ee90c109e3f4b03b
Based on the Rocket.chat code, there is no necessity of the roomId in the query parameter.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working