mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
adding filter hooks for flag list and retrieval
This commit is contained in:
@@ -9,6 +9,8 @@ module.exports = function (Plugins) {
|
||||
'filter:post.save': 'filter:post.create',
|
||||
'filter:user.profileLinks': 'filter:user.profileMenu',
|
||||
'action:post.flag': 'action:flag.create',
|
||||
'action:flag.create': 'action:flags.create',
|
||||
'action:flag.update': 'action:flags.update',
|
||||
};
|
||||
/*
|
||||
`data` is an object consisting of (* is required):
|
||||
|
||||
Reference in New Issue
Block a user