Upgrade all dependencies and fixes afterward issues

This commit is contained in:
Wu Cheng-Han 2016-01-19 09:57:58 -06:00
parent 4073909b16
commit 96931e6e3a
4 changed files with 18 additions and 16 deletions

View file

@ -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)