Merge pull request #1545 from ether/fix-clients-conn-count

only show clients on this pad resolves issue #1544
pull/1547/head
John McLear 2013-02-20 08:21:31 -08:00
commit ec4a6bbaf2
1 changed files with 1 additions and 1 deletions

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)