added notification obj to emailer.send

v1.18.x
Andrew Rodrigues 7 years ago committed by GitHub
parent a5bae451f2
commit 9e0189ab34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save