fix: change the passed-in notificatiom id for notifyTagFollowers to contain the list of matched tags

fixes: #13087
This commit is contained in:
Julian Lam
2025-02-14 20:25:05 -05:00
parent 77dd6dd0e7
commit 04f51cc63a

View File

@@ -621,7 +621,7 @@ module.exports = function (Topics) {
const notification = await notifications.create({ const notification = await notifications.create({
type: 'new-topic-with-tag', type: 'new-topic-with-tag',
nid: `new_topic:tid:${postData.topic.tid}:uid:${exceptUid}`, nid: `new_topic:tags:${tags.join('.')}:tid:${postData.topic.tid}:uid:${exceptUid}`,
bodyShort: bodyShort, bodyShort: bodyShort,
bodyLong: postData.content, bodyLong: postData.content,
pid: postData.pid, pid: postData.pid,