Node.js based forum software built for the modern web
fix: dont send topic notification to poster
Barış Soner Uşaklıe72b26f5659f
diff --git a/src/categories/topics.js b/src/categories/topics.jsindex 2bc9aa58cf..a8396a4ab2 100644--- a/src/categories/topics.js+++ b/src/categories/topics.js@@ -219,7 +219,10 @@ module.exports = function (Categories) {min: Categories.watchStates.watching,max: Categories.watchStates.watching,});-+ const index = followers.indexOf(String(exceptUid));+ if (index !== -1) {+ followers.splice(index, 1);+ }if (!followers.length) {return;}