Skip to content

Commit

Permalink
add can message correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Feb 15, 2024
1 parent 7630c7a commit 7460b72
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,7 @@ class XMTPModule : Module() {
if (client.libXMTPClient == null) {
throw XMTPException("Create client with enableAlphaMLS true in order to call canGroupMessage")
}
runBlocking {
client.libXMTPClient!!.canMessage(peerAddresses)
}
client.canMessage(peerAddresses)
}

AsyncFunction("staticCanMessage") { peerAddress: String, environment: String, appVersion: String? ->
Expand Down

0 comments on commit 7460b72

Please sign in to comment.