mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 02:36:16 +01:00
feat: #5274
This commit is contained in:
@@ -175,6 +175,9 @@ async function pushToUids(uids, notification) {
|
||||
notification['cta-type'] = notification.type;
|
||||
}
|
||||
let body = notification.bodyLong || '';
|
||||
if (meta.config.removeEmailNotificationImages) {
|
||||
body = body.replace(/<img[^>]*>/, '');
|
||||
}
|
||||
body = posts.relativeToAbsolute(body, posts.urlRegex);
|
||||
body = posts.relativeToAbsolute(body, posts.imgRegex);
|
||||
await async.eachLimit(uids, 3, function (uid, next) {
|
||||
|
||||
Reference in New Issue
Block a user