mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
closes #2132
This commit is contained in:
@@ -322,6 +322,9 @@ SocketPosts.flag = function(socket, pid, callback) {
|
||||
notifications.push(notification, adminGroup.members, next);
|
||||
});
|
||||
},
|
||||
function(next) {
|
||||
posts.flag(pid, next);
|
||||
},
|
||||
function(next) {
|
||||
if (!parseInt(post.uid, 10)) {
|
||||
return next();
|
||||
|
||||
Reference in New Issue
Block a user