only show clients on this pad resolves issue #1544

This commit is contained in:
John McLear 2013-02-20 16:10:27 +00:00
parent c986a8565a
commit fb3e4a6232

View file

@ -1035,7 +1035,7 @@ function handleClientReady(client, message)
}
// notify all existing users about new user
client.broadcast.to(padIds.padIds).json.send(messageToTheOtherUsers);
client.broadcast.to(padIds.padId).json.send(messageToTheOtherUsers);
//Run trough all sessions of this pad
async.forEach(socketio.sockets.clients(padIds.padId), function(roomClient, callback)