Skip to content

Commit

Permalink
fix: message object fix (#1302)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammeds1992 authored May 21, 2024
1 parent 69b0158 commit 836e5c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/restapi/src/lib/pushstream/DataModifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 836e5c1

Please sign in to comment.