mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
unreadTids
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user