Added channel-kicks. added up disconnect message

This commit is contained in:
rainbow napkin 2024-11-27 03:02:58 -05:00
parent 796bb033a7
commit 5c30508e96
5 changed files with 30 additions and 5 deletions

View file

@ -56,6 +56,10 @@ class userList{
this.client.socket.on('userList', (data) => {
this.updateList(data);
});
this.client.socket.on("disconnect", () => {
this.updateList([]);
})
}
updateList(list){