fix newly generated rule causing mass pings

This commit is contained in:
camila314 2023-11-15 23:06:49 -06:00
parent c0fb89496f
commit 8ab224562a

View file

@ -107,7 +107,7 @@ export default definePlugin({
}, },
applyRegexes(m) { applyRegexes(m) {
if (regexes.some(r => m.content.match(new RegExp(r)))) { if (regexes.some(r => m.content.match(new RegExp(r))) && m != "") {
m.mentions.push(me); m.mentions.push(me);
} }
}, },