1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-29 23:38:55 +09:00

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