Skip to content

Commit 6e943f6

Browse files
authored
Update library/src/main/java/org/xmtp/android/library/push/README.md
1 parent 8a4b496 commit 6e943f6

File tree

1 file changed

+2
-2
lines changed
  • library/src/main/java/org/xmtp/android/library/push

1 file changed

+2
-2
lines changed

library/src/main/java/org/xmtp/android/library/push/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ These files can serve as the basis for what you might want to provide for your o
8181
```
8282
8383
```kotlin
84-
val hmacKeys = hmacKeysResult.hmacKeysMap
84+
val hmacKeysResult = ClientManager.client.conversations.getHmacKeys()
8585
val subscriptions = conversations.map {
86-
val hmacKeysResult = ClientManager.client.conversations.getHmacKeys()
86+
val hmacKeys = hmacKeysResult.hmacKeysMap
8787
val result = hmacKeys[it.topic]?.valuesList?.map { hmacKey ->
8888
Service.Subscription.HmacKey.newBuilder().also { sub_key ->
8989
sub_key.key = hmacKey.hmacKey

0 commit comments

Comments
 (0)