From 7744a8892fb6e97a80cebbc82dec71762e6a5b43 Mon Sep 17 00:00:00 2001 From: KhVictor Date: Tue, 18 Oct 2016 08:02:33 -0400 Subject: [PATCH 1/2] Update Signaling-Server.js Hello! on line 163 - do you mean listOfUsers[socket.userid].socket.id == socket.id ?? --- Signaling-Server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Signaling-Server.js b/Signaling-Server.js index b3ac90a2..8eec5b8e 100755 --- a/Signaling-Server.js +++ b/Signaling-Server.js @@ -160,7 +160,7 @@ module.exports = exports = function(app, socketCallback) { } try { - if (listOfUsers[socket.userid] && listOfUsers[socket.userid].socket.id == socket.userid) { + if (listOfUsers[socket.userid] && listOfUsers[socket.userid].socket.id == socket.id) { if (newUserId === socket.userid) return; var oldUserId = socket.userid; From 2248d128951a84d5a6bfe27c293d4c119ba39b72 Mon Sep 17 00:00:00 2001 From: KhVictor Date: Tue, 18 Oct 2016 08:31:39 -0400 Subject: [PATCH 2/2] Update Signaling-Server.js --- Signaling-Server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Signaling-Server.js b/Signaling-Server.js index 8eec5b8e..554fa630 100755 --- a/Signaling-Server.js +++ b/Signaling-Server.js @@ -160,7 +160,7 @@ module.exports = exports = function(app, socketCallback) { } try { - if (listOfUsers[socket.userid] && listOfUsers[socket.userid].socket.id == socket.id) { + if (listOfUsers[socket.userid] && listOfUsers[socket.userid].socket.userid == socket.userid) { if (newUserId === socket.userid) return; var oldUserId = socket.userid;