This commit is contained in:
barisusakli
2015-07-14 17:03:28 -04:00
parent 2cb70ceccc
commit daf1a388eb
15 changed files with 118 additions and 30 deletions

View File

@@ -85,7 +85,7 @@ SocketTopics.enter = function(socket, tid, callback) {
SocketTopics.markAsRead(socket, [tid], next);
},
users: function(next) {
websockets.getUsersInRoom(socket.uid, 'topic_' + tid, next);
websockets.getUsersInRoom(socket.uid, 'topic_' + tid, 0, 9, next);
}
}, function(err, result) {
callback(err, result ? result.users : null);