From 9e0189ab34d6ef4e6348dad1562d9c3299fd5617 Mon Sep 17 00:00:00 2001 From: Andrew Rodrigues Date: Tue, 30 Jan 2018 20:43:30 -0500 Subject: [PATCH] added notification obj to emailer.send --- src/notifications.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/notifications.js b/src/notifications.js index 2c43276907..8a91c44509 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -223,6 +223,7 @@ function pushToUids(uids, notification, callback) { subject: utils.stripHTMLTags(notification.subject || '[[notifications:new_notification_from, ' + meta.config.title + ']]'), intro: utils.stripHTMLTags(notification.bodyShort), body: utils.stripHTMLTags(notification.bodyLong || ''), + notification: notification, showUnsubscribe: true, }, next); }, callback);