mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46: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,
|
min: Categories.watchStates.watching,
|
||||||
max: Categories.watchStates.watching,
|
max: Categories.watchStates.watching,
|
||||||
});
|
});
|
||||||
|
const index = followers.indexOf(String(exceptUid));
|
||||||
|
if (index !== -1) {
|
||||||
|
followers.splice(index, 1);
|
||||||
|
}
|
||||||
if (!followers.length) {
|
if (!followers.length) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user