From a9540a13a159b938eaa0f15e3b3f8aa13d5638be Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 14 Jul 2017 14:54:56 -0400 Subject: [PATCH] fixing url in footer --- src/topics/follow.js | 1 + src/views/emails/partials/footer.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/topics/follow.js b/src/topics/follow.js index f26fa20a46..55f88ef304 100644 --- a/src/topics/follow.js +++ b/src/topics/follow.js @@ -259,6 +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://'), + userslug: data.userData.userslug, topicSlug: postData.topic.slug, showUnsubscribe: true, }, next); diff --git a/src/views/emails/partials/footer.tpl b/src/views/emails/partials/footer.tpl index 2d891efaa9..23a9371134 100644 --- a/src/views/emails/partials/footer.tpl +++ b/src/views/emails/partials/footer.tpl @@ -4,7 +4,7 @@

- [[email:notif.post.unsub.info]] [[email:unsub.cta]]. + [[email:notif.post.unsub.info]] [[email:unsub.cta]].