Skip to content

Commit 12c7a74

Browse files
committed
fix: from warning - removes duplicative conversion
1 parent 459920b commit 12c7a74

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

library/src/main/java/org/xmtp/android/library/Contacts.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class ConsentList(val client: Client) {
149149
EnvelopeBuilder.buildFromTopic(
150150
Topic.preferenceList(identifier),
151151
Date(),
152-
ByteArray(message.size) { message[it].toByte() },
152+
ByteArray(message.size) { message[it] },
153153
)
154154

155155
client.publish(listOf(envelope))

0 commit comments

Comments
 (0)