Skip to content

Commit

Permalink
fixing the kotlin code to return a string
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalzieu committed Nov 20, 2024
1 parent 4dca670 commit 8c16cba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,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.decode())
DecodedMessageWrapper.encode(message.decode())
}
}

Expand Down

0 comments on commit 8c16cba

Please sign in to comment.