From 7a412500e1e8ff988ba9ad760a84874f0d7e06e7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 29 Nov 2018 20:07:31 +0900 Subject: [PATCH] [Client] Fix #3427 --- src/client/app/common/scripts/should-mute-note.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/app/common/scripts/should-mute-note.ts b/src/client/app/common/scripts/should-mute-note.ts index a849135763..65d25d17cb 100644 --- a/src/client/app/common/scripts/should-mute-note.ts +++ b/src/client/app/common/scripts/should-mute-note.ts @@ -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; }