From 96931e6e3abb4f1629811162296a97866bac4904 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Tue, 19 Jan 2016 09:57:58 -0600 Subject: Upgrade all dependencies and fixes afterward issues --- public/js/index.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'public') diff --git a/public/js/index.js b/public/js/index.js index c35c2c38..46e46f22 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1195,6 +1195,8 @@ socket.on('connect', function (data) { personalInfo['id'] = socket.id; showStatus(statusType.connected); socket.emit('version'); + if (socket.id.indexOf('/') == -1) + socket.id = socket.nsp + '#' + socket.id; }); socket.on('version', function (data) { if (data != version) -- cgit v1.2.3