Merge pull request #1599 from jhollinger/develop

Fix padUsers API method
pull/1527/merge
John McLear 2013-03-07 06:50:01 -08:00
commit 732ad2878f
1 changed files with 1 additions and 1 deletions

View File

@ -1448,7 +1448,7 @@ exports.padUsersCount = function (padID, callback) {
exports.padUsers = function (padID, callback) { exports.padUsers = function (padID, callback) {
var result = []; var result = [];
async.forEach(socketio.sockets.clients(padId), function(roomClient, callback) { async.forEach(socketio.sockets.clients(padID), function(roomClient, callback) {
var s = sessioninfos[roomClient.id]; var s = sessioninfos[roomClient.id];
if(s) { if(s) {
authorManager.getAuthor(s.author, function(err, author) { authorManager.getAuthor(s.author, function(err, author) {