diff --git a/src/topics/follow.js b/src/topics/follow.js index 5d0de0e5a5..f26fa20a46 100644 --- a/src/topics/follow.js +++ b/src/topics/follow.js @@ -259,12 +259,7 @@ module.exports = function (Topics) { subject: '[' + (meta.config.title || 'NodeBB') + '] ' + title, intro: '[[notifications:user_posted_to, ' + postData.user.username + ', ' + titleEscaped + ']]', postBody: postData.content.replace(/"\/\//g, '"https://'), - 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'), showUnsubscribe: true, }, next); } else { diff --git a/src/views/emails/notif_post.tpl b/src/views/emails/notif_post.tpl index 917926a390..e2f7921a47 100644 --- a/src/views/emails/notif_post.tpl +++ b/src/views/emails/notif_post.tpl @@ -17,11 +17,7 @@
- {intro} - |
- ||
+ {intro} {postBody} |
- + | diff --git a/src/views/emails/partials/footer.tpl b/src/views/emails/partials/footer.tpl index 236887425c..2d891efaa9 100644 --- a/src/views/emails/partials/footer.tpl +++ b/src/views/emails/partials/footer.tpl @@ -1,7 +1,7 @@
+ |
[[email:notif.post.unsub.info]] [[email:unsub.cta]]. |