Check for channel status (ntype=1) messages

This commit is contained in:
Tristan B. Kildaire 2020-09-28 13:47:46 +02:00
parent 50ddd8a1ca
commit 00913f394b
1 changed files with 7 additions and 0 deletions

View File

@ -51,5 +51,12 @@ public class NotificationWatcher : Thread
/* TODO: Check notification type */
byte notificationType = data[0];
/* Channel notification (ntype=1) */
if(notificationType == cast(byte)1)
{
/* TODO: Get the username of the user that left */
writeln("user left");
}
}
}