Skip to content

Commit

Permalink
try and fix client create
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed May 22, 2024
1 parent d2cb60b commit ff81f8d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ class GroupMembershipChangeTest {
}
val messages = group.messages()
assertEquals(messages.size, 1)
assertEquals(group.memberInboxIds().size, 3)
assertEquals(group.members().size, 3)
runBlocking { group.removeMembers(listOf(caro.walletAddress)) }
val updatedMessages = group.messages()
assertEquals(updatedMessages.size, 2)
assertEquals(group.memberInboxIds().size, 2)
assertEquals(group.members().size, 2)
val content: GroupMembershipChanges? = updatedMessages.first().content()

assertEquals(
Expand All @@ -116,7 +116,7 @@ class GroupMembershipChangeTest {
}
val messages = group.messages()
assertEquals(messages.size, 1)
assertEquals(group.memberInboxIds().size, 3)
assertEquals(group.members().size, 3)
runBlocking {
group.send(
content = membershipChange,
Expand Down
6 changes: 3 additions & 3 deletions library/src/main/java/libxmtp-version.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: c38495d
Branch: identity-release
Date: 2024-05-21 23:25:22 +0000
Version: 80f45f8
Branch: nm/legacy-key-issues
Date: 2024-05-22 22:45:33 +0000
1 change: 0 additions & 1 deletion library/src/main/java/org/xmtp/android/library/Client.kt
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ class Client() {
* The user will need to be prompted to sign to decrypt each bundle.
*/
suspend fun authCheck(api: ApiClient, address: String): List<EncryptedPrivateKeyBundle> {
Log.d("LOPI", "authCheck")
val topic = Topic.userPrivateStoreKeyBundle(toChecksumAddress(address))
val res = api.queryTopic(topic)
return res.envelopesList.mapNotNull {
Expand Down
Binary file modified library/src/main/jniLibs/arm64-v8a/libuniffi_xmtpv3.so
Binary file not shown.

0 comments on commit ff81f8d

Please sign in to comment.