diff options
author | Wu Cheng-Han | 2016-01-19 09:57:58 -0600 |
---|---|---|
committer | Wu Cheng-Han | 2016-01-19 09:57:58 -0600 |
commit | 96931e6e3abb4f1629811162296a97866bac4904 (patch) | |
tree | 8710286e63ea0bbeca98c23a7676fafdc0cae91a /public | |
parent | 4073909b1607fa92bb6c1f1725a21f295b2fa1c9 (diff) |
Upgrade all dependencies and fixes afterward issues
Diffstat (limited to 'public')
-rw-r--r-- | public/js/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
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) |