[Client] Fix #3427

This commit is contained in:
syuilo 2018-11-29 20:07:31 +09:00
parent ab594d1dfe
commit 7a412500e1
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

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;
}