Skip to content

Commit

Permalink
Merge pull request #542 from xmtp/noe/fix-group-process-message-2.8
Browse files Browse the repository at this point in the history
processMessage method
  • Loading branch information
nmalzieu authored Nov 20, 2024
2 parents d35b4f2 + bcfedeb commit 1df9670
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1553,7 +1553,7 @@ class XMTPModule : Module() {
val conversation = client.findConversation(id)
?: throw XMTPException("no conversation found for $id")
val message = conversation.processMessage(Base64.decode(encryptedMessage, NO_WRAP))
DecodedMessageWrapper.encodeMap(message.decrypt())
DecodedMessageWrapper.encode(message.decrypt())
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xmtp/react-native-sdk",
"version": "0.1.0",
"version": "2.8.5",
"description": "Wraps for native xmtp sdks for react native",
"main": "build/index.js",
"types": "build/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ export async function processConversationMessage<
id: string,
encryptedMessage: string
): Promise<DecodedMessage<ContentTypes>> {
const json = XMTPModule.processConversationMessage(
const json = await XMTPModule.processConversationMessage(
client.inboxId,
id,
encryptedMessage
Expand Down

0 comments on commit 1df9670

Please sign in to comment.