This commit is contained in:
Barış Soner Uşaklı
2017-05-26 23:21:46 -04:00
parent dcf3db104b
commit 3d1b1a9423
8 changed files with 48 additions and 39 deletions

View File

@@ -616,7 +616,7 @@ Flags.notify = function (flagObj, uid, callback) {
async.waterfall([
async.apply(posts.getCidByPid, flagObj.targetId),
function (cid, next) {
groups.getMembers('cid:' + cid + ':privileges:mods', 0, -1, next);
groups.getMembers('cid:' + cid + ':privileges:moderate', 0, -1, next);
},
], next);
},