File tree 2 files changed +2
-4
lines changed
main/java/org/xmtp/android/library
test/java/org/xmtp/android/library
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -213,9 +213,7 @@ data class Conversations(
213
213
214
214
fun listInvitations (): List <SealedInvitation > {
215
215
val envelopes = runBlocking {
216
- client.apiClient.queryTopic(
217
- topic = Topic .userInvite(client.address)
218
- ).envelopesList
216
+ client.apiClient.envelopes(Topic .userInvite(client.address).description)
219
217
}
220
218
return envelopes.map { envelope ->
221
219
SealedInvitation .parseFrom(envelope.message)
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ class MessageTest {
212
212
}.build()
213
213
val client = Client ().create(account = PrivateKeyBuilder (key))
214
214
val conversations = client.conversations.list()
215
- assertEquals(100 , conversations.size)
215
+ assertEquals(201 , conversations.size)
216
216
}
217
217
218
218
@Test
You can’t perform that action at this time.
0 commit comments