summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js')
-rw-r--r--public/js/index.js2
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)