mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 15:20:39 +01:00
ghfw :rage2:
This commit is contained in:
@@ -102,7 +102,7 @@ var async = require('async'),
|
||||
Groups.get = function(groupName, options, callback) {
|
||||
var truncated = false,
|
||||
numUsers;
|
||||
console.log('groups.get', groupName);
|
||||
|
||||
async.parallel({
|
||||
base: function (next) {
|
||||
if (ephemeralGroups.indexOf(groupName) === -1) {
|
||||
@@ -172,12 +172,7 @@ console.log('groups.get', groupName);
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
if (options.expand && uids.length) {
|
||||
async.map(uids, user.getUserData, next);
|
||||
} else {
|
||||
next(err, uids);
|
||||
}
|
||||
user.getUsersData(uids, next);
|
||||
});
|
||||
},
|
||||
isMember: function(next) {
|
||||
|
||||
Reference in New Issue
Block a user