mirror of
https://github.com/esiur/esiur-js.git
synced 2025-06-26 23:03:13 +00:00
Deadlock prevention
This commit is contained in:
@ -46,7 +46,7 @@
|
||||
users.append(el);
|
||||
|
||||
if (!silent)
|
||||
appendMessage({usr, msg: "joined the room", date: new Date()});
|
||||
appendMessage(new Map([['usr', usr], ['msg', "joined the room"], ['date', new Date()]]));
|
||||
}
|
||||
|
||||
function removeUser(usr){
|
||||
@ -57,7 +57,7 @@
|
||||
break;
|
||||
}
|
||||
|
||||
appendMessage({usr, msg: "left the room", date: new Date()});
|
||||
appendMessage(new Map([['usr', usr], ['msg', "left the room"], ['date', new Date()]]));
|
||||
}
|
||||
|
||||
function updateTitle()
|
||||
|
Reference in New Issue
Block a user