From 9dc4a870dd94f6dba89aae2a487c049ec3ef7a5a Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Mon, 3 Jul 2023 18:04:01 +0200 Subject: [PATCH] Client - Added TODO to `sendMessage(Message)` --- source/birchwood/client/client.d | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/birchwood/client/client.d b/source/birchwood/client/client.d index cbfef5e..89e4568 100644 --- a/source/birchwood/client/client.d +++ b/source/birchwood/client/client.d @@ -959,6 +959,12 @@ public class Client : Thread /* Encode the message */ ubyte[] encodedMessage = encodeMessage(message.encode()); + // TODO: Decide on the chunks required + ulong chunksRequired = encodedMessage.length/512; + // FIXME: I mean should this maybe be something that channelMessage + // ... does as I don't feel nor think we can issue several messages in general + + /* If the message is 512 bytes or less then send */ if(encodedMessage.length <= 512) {