mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: dont send topic notification to poster
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user