From c0fc69d20b107c0f1446786dcdaf57b6c0d1730e Mon Sep 17 00:00:00 2001 From: Mohammed S Date: Tue, 21 May 2024 21:32:26 +0530 Subject: [PATCH] fix: message object fix --- packages/restapi/src/lib/pushstream/DataModifier.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/restapi/src/lib/pushstream/DataModifier.ts b/packages/restapi/src/lib/pushstream/DataModifier.ts index f4346f751..92027a4bf 100644 --- a/packages/restapi/src/lib/pushstream/DataModifier.ts +++ b/packages/restapi/src/lib/pushstream/DataModifier.ts @@ -239,7 +239,7 @@ export class DataModifier { to: [data.toCAIP10], // TODO: Assuming 'to' is an array in MessageEvent. Update as necessary. message: { type: data.messageType, - content: data.messageContent, + ...data.messageObj, }, meta: { group: data.isGroup || false,