Skip to content

Commit

Permalink
Merge pull request #260 from KhVictor/patch-1
Browse files Browse the repository at this point in the history
Update Signaling-Server.js
  • Loading branch information
muaz-khan authored Oct 18, 2016
2 parents 2d07a60 + 2248d12 commit 22bd197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Signaling-Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.userid == socket.userid) {
if (newUserId === socket.userid) return;

var oldUserId = socket.userid;
Expand Down

0 comments on commit 22bd197

Please sign in to comment.