Skip to content

Commit

Permalink
Add Support for Custom Content Types when preparing messages
Browse files Browse the repository at this point in the history
Added logic in Conversation to handle content type in prepare method
Updated bridged module to handle encrypted messages

Requires iOS Sdk Change: xmtp/xmtp-ios#212
Requires Android Sdk Change:
  • Loading branch information
Alex Risch authored and Alex Risch committed Jan 3, 2024
1 parent 74bfcf4 commit 7b50ba0
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,6 @@ class XMTPModule : Module() {

val prepared = conversation.prepareMessage(
encodedContent = encodedContent,
options = SendOptions(contentType = sending.type)
)
val preparedAtMillis = prepared.envelopes[0].timestampNs / 1_000_000
val preparedFile = File.createTempFile(prepared.messageId, null)
Expand Down

0 comments on commit 7b50ba0

Please sign in to comment.