Skip to content

Node.js based forum software built for the modern web

added notification obj to emailer.send

Andrew Rodrigues9e0189ab34d6
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);