From db01f7ff1758306acfa9a09fab799e1873dee006 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Thu, 19 Dec 2024 14:10:08 -0600 Subject: [PATCH] Add encodedContent property to DecodedMessage --- sdks/browser-sdk/src/DecodedMessage.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdks/browser-sdk/src/DecodedMessage.ts b/sdks/browser-sdk/src/DecodedMessage.ts index ea47d2068..370751f54 100644 --- a/sdks/browser-sdk/src/DecodedMessage.ts +++ b/sdks/browser-sdk/src/DecodedMessage.ts @@ -27,6 +27,8 @@ export class DecodedMessage { parameters: Map; + encodedContent: SafeMessage["content"]; + senderInboxId: string; sentAtNs: bigint; @@ -37,6 +39,7 @@ export class DecodedMessage { this.sentAtNs = message.sentAtNs; this.conversationId = message.convoId; this.senderInboxId = message.senderInboxId; + this.encodedContent = message.content; switch (message.kind) { case GroupMessageKind.Application: