Description:
Currently, there is a TODO in packages/api/src/EmbeddedChatApi.ts (line 239) that requires implementing logic to call thread message event listeners
Steps to reproduce:
- Open a thread in a Rocket.Chat room
- Send a message in the thread
- Observe that thread message event listeners are not being called
Expected behavior:
- Thread messages should trigger event listeners
- Components listening to thread messages should receive updates in real-time
- Thread message events should be handled similarly to regular message events
Actual behavior:
- Thread message event listeners are not being invoked
- Components do not receive thread message updates
- The TODO comment indicates this functionality is not yet implemented
Implementation Notes:
- This should be implemented in the
_doConnect() method (like other subscriptions)
- Should follow the existing pattern for message and notification subscriptions
- Needs to integrate with the callback system already in place
Description:
Currently, there is a TODO in
packages/api/src/EmbeddedChatApi.ts(line 239) that requires implementing logic to call thread message event listenersSteps to reproduce:
Expected behavior:
Actual behavior:
Implementation Notes:
_doConnect()method (like other subscriptions)