We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 459920b commit 12c7a74Copy full SHA for 12c7a74
library/src/main/java/org/xmtp/android/library/Contacts.kt
@@ -149,7 +149,7 @@ class ConsentList(val client: Client) {
149
EnvelopeBuilder.buildFromTopic(
150
Topic.preferenceList(identifier),
151
Date(),
152
- ByteArray(message.size) { message[it].toByte() },
+ ByteArray(message.size) { message[it] },
153
)
154
155
client.publish(listOf(envelope))
0 commit comments