|
|
|
@ -220,9 +220,9 @@ function pushToUids(uids, notification, callback) {
|
|
|
|
|
async.eachLimit(uids, 3, function (uid, next) {
|
|
|
|
|
emailer.send('notification', uid, {
|
|
|
|
|
path: notification.path,
|
|
|
|
|
subject: '[' + (meta.config.title || 'NodeBB') + '] ' + notification.bodyShort,
|
|
|
|
|
intro: '[[notifications:new_notification_from, ' + meta.config.title + ']]',
|
|
|
|
|
body: notification.bodyLong || notification.bodyShort,
|
|
|
|
|
subject: '[[notifications:new_notification_from, ' + meta.config.title + ']]',
|
|
|
|
|
intro: utils.stripHTMLTags(notification.bodyShort),
|
|
|
|
|
body: utils.stripHTMLTags(notification.bodyLong || ''),
|
|
|
|
|
showUnsubscribe: true,
|
|
|
|
|
}, next);
|
|
|
|
|
}, callback);
|
|
|
|
|