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] - Stream Event for Reactions #1391

Open
Siddesh7 opened this issue Sep 11, 2024 · 0 comments
Open

🐛 [BUG] - Stream Event for Reactions #1391

Siddesh7 opened this issue Sep 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Siddesh7
Copy link
Collaborator

Siddesh7 commented Sep 11, 2024

Expected Behaviour

  • Whenever there is a new Reaction type message, the stream event triggered should provide the reference hash of the message that received the reaction so the UI can update the state in realtime.

Current Behaviour

  • The stream event for Reaction type message doesn't provide the reference hash of the message that received the reaction but only gives the reference hash of the reaction itself.

{ "event": "chat.message", "origin": "other", "timestamp": "1723802357266", "chatId": "04ae8679a0f272a2be2b3a6506f1e381b9c0e4c7e10afab3c1d02c775024b802", "from": "eip155:0x4e6D595987572f20847a0bF739FC0d9bE32a98a2", "to": [ "eip155:0x1A3cDE21e27CA9a2670C2c647550D39a72d9637C" ], "message": { "type": "Reaction", "content": "❤️" }, "meta": { "group": false }, "reference": "v2:651f5e1b02fbd2edbd700fc4cd6fc03e01bb5f2ca0608e349050566faa327c73", "streamUid": "40954509-459a-475d-94e5-faa161885c57" }

The message that received this reaction has a reference hash of v2:17f684f31ac046d1178dfb4115dce99046fc46c116bcea3288f595977e79017b and this is not included in the stream event response.

@Siddesh7 Siddesh7 added the bug Something isn't working label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants