From b2ece27263fffbd603f219a7c3258a06dc329a89 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 10 Jul 2014 15:45:25 -0400 Subject: [PATCH] topic post hook --- src/topics/create.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/topics/create.js b/src/topics/create.js index ea3e56933c..1cab7d2a42 100644 --- a/src/topics/create.js +++ b/src/topics/create.js @@ -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