Skip to content
Snippets Groups Projects
Commit 32c4cce7 authored by arshiam2's avatar arshiam2
Browse files

wip

parent ab0d6196
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ socket.on("message", function(message, rinfo) {
}
if (text[0] === "leave") {
console.log(Object.keys(connections).filter(c => c.toString())
console.log(Object.keys(connections).filter(c => c.toString()))
const deletedConnection = Object.keys(connections).filter(c => c.toString()[0] === text[1]);
console.log(text[1] + "left")
console.log(deletedConnection)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment