From d707433f28a1d20e2c88dd19ed8dae823fc75f1c Mon Sep 17 00:00:00 2001 From: jubb Date: Fri, 7 May 2021 12:03:04 +1000 Subject: [PATCH] docs: remove no long applicable docs --- .../org/session/libsession/messaging/jobs/MessageSendJob.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsession/src/main/java/org/session/libsession/messaging/jobs/MessageSendJob.kt b/libsession/src/main/java/org/session/libsession/messaging/jobs/MessageSendJob.kt index de25a6fbb8..83822c4fc7 100644 --- a/libsession/src/main/java/org/session/libsession/messaging/jobs/MessageSendJob.kt +++ b/libsession/src/main/java/org/session/libsession/messaging/jobs/MessageSendJob.kt @@ -79,7 +79,7 @@ class MessageSendJob(val message: Message, val destination: Destination) : Job { override fun serialize(): Data { val kryo = Kryo() kryo.isRegistrationRequired = false - val output = Output(ByteArray(4096), 10_000_000) // maxBufferSize '-1' will dynamically grow internally if we run out of room serializing the message + val output = Output(ByteArray(4096), 10_000_000) kryo.writeClassAndObject(output, message) output.close() val serializedMessage = output.toBytes()