mirror of
https://github.com/deavminet/skippy.git
synced 2025-02-01 10:51:30 +00:00
Check for channel status (ntype=1) messages
This commit is contained in:
parent
50ddd8a1ca
commit
00913f394b
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user