diff --git a/android/build.gradle b/android/build.gradle index b5fc17af2..656a4ad91 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -98,7 +98,7 @@ repositories { dependencies { implementation project(':expo-modules-core') implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${getKotlinVersion()}" - implementation "org.xmtp:android:0.16.0" + implementation "org.xmtp:android:0.16.1" implementation 'com.google.code.gson:gson:2.10.1' implementation 'com.facebook.react:react-native:0.71.3' implementation "com.daveanthonythomas.moshipack:moshipack:1.0.1" diff --git a/android/src/main/java/expo/modules/xmtpreactnativesdk/wrappers/DmWrapper.kt b/android/src/main/java/expo/modules/xmtpreactnativesdk/wrappers/DmWrapper.kt index c2813f93e..ba01da00e 100644 --- a/android/src/main/java/expo/modules/xmtpreactnativesdk/wrappers/DmWrapper.kt +++ b/android/src/main/java/expo/modules/xmtpreactnativesdk/wrappers/DmWrapper.kt @@ -20,7 +20,7 @@ class DmWrapper { put("createdAt", dm.createdAt.time) put("version", "DM") put("topic", dm.topic) - put("peerInboxId", dm.peerInboxId()) + put("peerInboxId", dm.peerInboxId) if (dmParams.members) { put("members", dm.members().map { MemberWrapper.encode(it) }) }