[Client] Fix #3427

This commit is contained in:
syuilo 2018-11-29 20:07:31 +09:00
parent 18b7f4cf2b
commit a1d4fd27eb

View File

@ -20,7 +20,7 @@ export default function(me, settings, note) {
}
}
if (!isMyNote && note.text && settings.mutedWords.some(q => !q.some(word => !note.text.includes(word)))) {
if (!isMyNote && note.text && settings.mutedWords.some(q => q.length > 0 && !q.some(word => word == '' || !note.text.includes(word)))) {
return true;
}