added notification obj to emailer.send

This commit is contained in:
Andrew Rodrigues
2018-01-30 20:43:30 -05:00
committed by GitHub
parent a5bae451f2
commit 9e0189ab34

View File

@@ -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);