Skip to content

Commit

Permalink
rename refresh consent list
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Oct 26, 2023
1 parent 1496ccf commit 5f40e71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ class ConversationTest {
val aliceClient2 = Client().create(aliceWallet, fakeApiClient)
val aliceConversation2 = aliceClient2.conversations.list()[0]

aliceClient2.contacts.refreshAllowList()
aliceClient2.contacts.refreshConsentList()

// Allow state should sync across clients
val isBobAllowed2 = aliceConversation2.consentState() == ConsentState.ALLOW
Expand Down
2 changes: 1 addition & 1 deletion library/src/main/java/org/xmtp/android/library/Contacts.kt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ data class Contacts(

var consentList: ConsentList = ConsentList(client)

fun refreshAllowList() {
fun refreshConsentList() {
runBlocking {
consentList = ConsentList(client).load()
}
Expand Down

0 comments on commit 5f40e71

Please sign in to comment.