1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 11:22:53 +02:00
- Added TODO to `sendMessage(Message)`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-07-03 18:04:01 +02:00
parent 98e5866044
commit 9dc4a870dd

View File

@ -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)
{