Refactored to use StreamableWriter
Bumped the msgpack library to 2.0.1 (the 2.0.0 build was fubar)
This commit is contained in:
@ -39,7 +39,7 @@ object ContactExport {
|
||||
"subscribed" to it.isSubscribed,
|
||||
"pubkey" to it.pubkey?.let {
|
||||
val out = ByteArrayOutputStream()
|
||||
it.writeUnencrypted(out)
|
||||
it.writer().writeUnencrypted(out)
|
||||
Base64.encodeToString(out.toByteArray())
|
||||
},
|
||||
"privateKey" to if (includePrivateKey) {
|
||||
|
Reference in New Issue
Block a user