Added channel-kicks. added up disconnect message
This commit is contained in:
parent
796bb033a7
commit
5c30508e96
5 changed files with 30 additions and 5 deletions
|
|
@ -56,6 +56,10 @@ class userList{
|
|||
this.client.socket.on('userList', (data) => {
|
||||
this.updateList(data);
|
||||
});
|
||||
|
||||
this.client.socket.on("disconnect", () => {
|
||||
this.updateList([]);
|
||||
})
|
||||
}
|
||||
|
||||
updateList(list){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue