mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-05 06:09:57 +01:00
Make topicSlug and postCount available to email notifications, so these can be used in template if needed
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user