diff --git a/android/src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt b/android/src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt index 0842fa747..4e770dd4b 100644 --- a/android/src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt +++ b/android/src/main/java/expo/modules/xmtpreactnativesdk/XMTPModule.kt @@ -411,7 +411,7 @@ class XMTPModule : Module() { // // Client API - AsyncFunction("canMessage") Coroutine { clientAddress: String, peerAddress: String -> + AsyncFunction("canMessage") Coroutine { inboxId: String, peerAddress: String -> withContext(Dispatchers.IO) { logV("canMessage") val client = clients[inboxId] ?: throw XMTPException("No client")