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.
Expected Behaviour
Current Behaviour
{ "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:17f684f31ac046d1178dfb4115dce99046fc46c116bcea3288f595977e79017band this is not included in the stream event response.