File tree 2 files changed +2
-1
lines changed
androidTest/java/org/xmtp/android/library
main/java/org/xmtp/android/library
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -766,6 +766,7 @@ class ConversationTest {
766
766
bobClient.contacts.refreshConsentList()
767
767
768
768
val isDenied = bobConversation.consentState() == ConsentState .DENIED
769
+ assertEquals(bobClient.contacts.consentList.entries.size, 1 )
769
770
assertTrue(isDenied)
770
771
771
772
val aliceConversation = aliceClient.conversations.list()[0 ]
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ data class ConsentListEntry(
40
40
}
41
41
42
42
class ConsentList (val client : Client ) {
43
- private val entries: MutableMap <String , ConsentState > = mutableMapOf ()
43
+ val entries: MutableMap <String , ConsentState > = mutableMapOf ()
44
44
private val publicKey =
45
45
client.privateKeyBundleV1.identityKey.publicKey.secp256K1Uncompressed.bytes
46
46
private val privateKey = client.privateKeyBundleV1.identityKey.secp256K1.bytes
You can’t perform that action at this time.
0 commit comments