We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3a2e31 commit 4ddc026Copy full SHA for 4ddc026
example/src/main/java/org/xmtp/android/example/MainViewModel.kt
@@ -45,8 +45,8 @@ class MainViewModel : ViewModel() {
45
val listItems = mutableListOf<MainListItem>()
46
try {
47
val conversations = ClientManager.client.conversations.list(includeGroups = true)
48
+ val hmacKeysResult = ClientManager.client.conversations.getHmacKeys()
49
val subscriptions = conversations.map {
- val hmacKeysResult = ClientManager.client.conversations.getHmacKeys()
50
val hmacKeys = hmacKeysResult.hmacKeysMap
51
val result = hmacKeys[it.topic]?.valuesList?.map { hmacKey ->
52
Service.Subscription.HmacKey.newBuilder().also { sub_key ->
0 commit comments