This commit is contained in:
barisusakli
2014-09-03 12:28:24 -04:00
parent 1b58fb3104
commit 5362863588
2 changed files with 15 additions and 1 deletions

View File

@@ -280,6 +280,10 @@ SocketUser.getActiveUsers = function(socket, data, callback) {
module.parent.exports.emitOnlineUserCount(callback);
};
SocketUser.debug = function(socket, data, callback) {
module.parent.exports.debug(callback);
};
SocketUser.loadMore = function(socket, data, callback) {
if(!data || !data.set || parseInt(data.after, 10) < 0) {
return callback(new Error('[[error:invalid-data]]'));