Skip to content

Commit

Permalink
Sync all syncs all conversations (#339)
Browse files Browse the repository at this point in the history
* bump to latest

* bump the binaries as well

* add sync all
  • Loading branch information
nplasterer authored Nov 26, 2024
1 parent b3e1b06 commit 13dc059
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -267,7 +265,6 @@ class ConversationsTest {

runBlocking {
alixGroup.send("Hello")
alixClient2.conversations.sync()
alixClient.conversations.syncAllConversations()
alixClient2.conversations.syncAllConversations()
}
Expand All @@ -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()
}
Expand Down
4 changes: 2 additions & 2 deletions library/src/main/java/libxmtp-version.txt
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down
Binary file modified library/src/main/jniLibs/arm64-v8a/libuniffi_xmtpv3.so
Binary file not shown.
Binary file modified library/src/main/jniLibs/armeabi-v7a/libuniffi_xmtpv3.so
Binary file not shown.
Binary file modified library/src/main/jniLibs/x86/libuniffi_xmtpv3.so
Binary file not shown.
Binary file modified library/src/main/jniLibs/x86_64/libuniffi_xmtpv3.so
Binary file not shown.

0 comments on commit 13dc059

Please sign in to comment.