Node.js based forum software built for the modern web
fix: change the passed-in notificatiom id for `notifyTagFollowers` to contain the list of matched tags
Julian Lam04f51cc63a18
diff --git a/src/topics/tags.js b/src/topics/tags.jsindex 4f2bc6dc97..9d4865122d 100644--- a/src/topics/tags.js+++ b/src/topics/tags.js@@ -621,7 +621,7 @@ module.exports = function (Topics) {const notification = await notifications.create({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,bodyLong: postData.content,pid: postData.pid,