mirror of https://github.com/deavminet/dnetd.git
Added missing sub-type to "New message" notification type
This commit is contained in:
parent
fe2aef4c41
commit
32b3ca7661
|
@ -917,9 +917,12 @@ public class DConnection : Thread
|
|||
/* The protocol data to send */
|
||||
byte[] protocolData;
|
||||
|
||||
/* Set the sub-type (ntype=0) */
|
||||
/* Set the sub-type (ntype=0 / channel/directmessage) */
|
||||
protocolData ~= [0];
|
||||
|
||||
/* Set to user message (direct message, sub-sub-type) */
|
||||
protocolData ~= [1];
|
||||
|
||||
/* Encode the sender's length */
|
||||
protocolData ~= [cast(byte)username.length];
|
||||
|
||||
|
|
Loading…
Reference in New Issue