mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-02 22:00:34 +01:00
remove body short from subject
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user