Node.js based forum software built for the modern web
remove body short from subject
Barış Soner Uşaklıe01bceff97d4
diff --git a/src/categories/topics.js b/src/categories/topics.jsindex a8396a4ab2..64248890c0 100644--- a/src/categories/topics.js+++ b/src/categories/topics.js@@ -236,7 +236,6 @@ module.exports = function (Categories) {const notification = await notifications.create({type: 'new-topic-in-category',nid: `new_topic:tid:${postData.topic.tid}:uid:${exceptUid}`,- subject: bodyShort,bodyShort: bodyShort,bodyLong: postData.content,pid: postData.pid,diff --git a/src/topics/tags.js b/src/topics/tags.jsindex 2df6701171..6cbe54b646 100644--- a/src/topics/tags.js+++ b/src/topics/tags.js@@ -620,7 +620,6 @@ module.exports = function (Topics) {const notification = await notifications.create({type: 'new-topic-with-tag',nid: `new_topic:tid:${postData.topic.tid}:uid:${exceptUid}`,- subject: bodyShort,bodyShort: bodyShort,bodyLong: postData.content,pid: postData.pid,