mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-16 09:30:49 +01:00
topic post hook
This commit is contained in:
@@ -141,6 +141,8 @@ module.exports = function(Topics) {
|
||||
topicData = topicData[0];
|
||||
topicData.unreplied = 1;
|
||||
|
||||
plugins.fireHook('action:topic.post', topicData);
|
||||
|
||||
next(null, {
|
||||
topicData: topicData,
|
||||
postData: postData
|
||||
|
||||
Reference in New Issue
Block a user