diff --git a/library/src/androidTest/java/org/xmtp/android/library/ConversationsTest.kt b/library/src/androidTest/java/org/xmtp/android/library/ConversationsTest.kt index 80c8d0f0..a916b209 100644 --- a/library/src/androidTest/java/org/xmtp/android/library/ConversationsTest.kt +++ b/library/src/androidTest/java/org/xmtp/android/library/ConversationsTest.kt @@ -209,8 +209,6 @@ class ConversationsTest { runBlocking { boClient.conversations.sync() boDm?.sync() - alixClient.conversations.sync() - alixClient2.conversations.sync() alixClient2.preferences.syncConsent() alixClient.conversations.syncAllConversations() Thread.sleep(2000) @@ -267,7 +265,6 @@ class ConversationsTest { runBlocking { alixGroup.send("Hello") - alixClient2.conversations.sync() alixClient.conversations.syncAllConversations() alixClient2.conversations.syncAllConversations() } @@ -289,8 +286,6 @@ class ConversationsTest { alix2Group.updateConsentState(ConsentState.DENIED) val dm3 = alixClient2.conversations.newConversation(caro.walletAddress) dm3.updateConsentState(ConsentState.DENIED) - alixClient.conversations.sync() - alixClient2.conversations.sync() alixClient.conversations.syncAllConversations() alixClient2.conversations.syncAllConversations() } diff --git a/library/src/main/java/libxmtp-version.txt b/library/src/main/java/libxmtp-version.txt index 06b6501c..5832e3d5 100644 --- a/library/src/main/java/libxmtp-version.txt +++ b/library/src/main/java/libxmtp-version.txt @@ -1,3 +1,3 @@ -Version: d07fb2bf +Version: 964a227c Branch: main -Date: 2024-11-22 18:36:31 +0000 +Date: 2024-11-26 17:49:43 +0000 diff --git a/library/src/main/java/org/xmtp/android/library/Conversations.kt b/library/src/main/java/org/xmtp/android/library/Conversations.kt index 35619a15..3c4fcbe8 100644 --- a/library/src/main/java/org/xmtp/android/library/Conversations.kt +++ b/library/src/main/java/org/xmtp/android/library/Conversations.kt @@ -127,7 +127,7 @@ data class Conversations( ffiConversations.sync() } - // Sync all existing local conversation data from the network (Note: call syncConversations() first to get the latest list of conversations) + // Sync all new and existing conversations data from the network suspend fun syncAllConversations(): UInt { return ffiConversations.syncAllConversations() } diff --git a/library/src/main/jniLibs/arm64-v8a/libuniffi_xmtpv3.so b/library/src/main/jniLibs/arm64-v8a/libuniffi_xmtpv3.so index 1573171d..de7ca74c 100644 Binary files a/library/src/main/jniLibs/arm64-v8a/libuniffi_xmtpv3.so and b/library/src/main/jniLibs/arm64-v8a/libuniffi_xmtpv3.so differ diff --git a/library/src/main/jniLibs/armeabi-v7a/libuniffi_xmtpv3.so b/library/src/main/jniLibs/armeabi-v7a/libuniffi_xmtpv3.so index 9429f2fe..1729c362 100644 Binary files a/library/src/main/jniLibs/armeabi-v7a/libuniffi_xmtpv3.so and b/library/src/main/jniLibs/armeabi-v7a/libuniffi_xmtpv3.so differ diff --git a/library/src/main/jniLibs/x86/libuniffi_xmtpv3.so b/library/src/main/jniLibs/x86/libuniffi_xmtpv3.so index d1fbd70e..01e8af8a 100644 Binary files a/library/src/main/jniLibs/x86/libuniffi_xmtpv3.so and b/library/src/main/jniLibs/x86/libuniffi_xmtpv3.so differ diff --git a/library/src/main/jniLibs/x86_64/libuniffi_xmtpv3.so b/library/src/main/jniLibs/x86_64/libuniffi_xmtpv3.so index 47a72926..0d081178 100644 Binary files a/library/src/main/jniLibs/x86_64/libuniffi_xmtpv3.so and b/library/src/main/jniLibs/x86_64/libuniffi_xmtpv3.so differ