mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 15:30:39 +01:00
post*.flag
This commit is contained in:
@@ -538,7 +538,7 @@ SocketPosts.flag = function(socket, pid, callback) {
|
||||
return next(err);
|
||||
}
|
||||
|
||||
plugins.fireHook('action:posts.flag', {post: post, flaggingUser: flaggingUser});
|
||||
plugins.fireHook('action:post.flag', {post: post, flaggingUser: flaggingUser});
|
||||
notifications.push(notification, results.admins.concat(results.moderators), next);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user