From ba2d191f807d590b2d211629eaf7bdb1a85f66d8 Mon Sep 17 00:00:00 2001 From: Danijel Date: Mon, 30 May 2016 15:09:20 +0200 Subject: [PATCH] Make topicSlug and postCount available to email notifications, so these can be used in template if needed --- src/topics/follow.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/topics/follow.js b/src/topics/follow.js index 1efa4cdc44..c0cb715c9d 100644 --- a/src/topics/follow.js +++ b/src/topics/follow.js @@ -233,6 +233,8 @@ module.exports = function(Topics) { username: data.userData.username, userslug: data.userData.userslug, url: nconf.get('url') + '/topic/' + postData.topic.tid, + topicSlug: postData.topic.slug, + postCount: postData.topic.postcount, base_url: nconf.get('url') }, next); } else {