unreadTids

This commit is contained in:
barisusakli
2014-09-16 12:38:27 -04:00
parent 48c123592e
commit 0a936e5dd1
4 changed files with 63 additions and 67 deletions

View File

@@ -196,15 +196,17 @@
if (err) {
return callback(err);
}
groupNames = internals.removeEphemeralGroups(groupNames);
if (groupNames.length === 0) {
return callback(null, null);
}
var results = [];
uids.forEach(function() {
results.push(false);
});
groupNames = internals.removeEphemeralGroups(groupNames);
if (groupNames.length === 0) {
return callback(null, results);
}
async.each(groupNames, function(groupName, next) {
Groups.isMembers(uids, groupName, function(err, isMembers) {
if (err) {