PROTOCOL UPDATE

Type: NotificationMessage
Sub-type: Channel

Channel changes from 1->0

Direct messages are meant to be 1
This commit is contained in:
Tristan B. Kildaire 2021-01-28 15:39:35 +02:00
parent 32b3ca7661
commit 1c9168a6b8
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ public class DChannel
*/
/* Set mode to channel message */
msg ~= [cast(byte)1];
msg ~= [cast(byte)0];
/* Encode the [usernameLength, username] */
msg ~= [(cast(byte)sender.getUsername().length)];