diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-29 20:07:31 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-29 20:07:31 +0900 |
| commit | 7a412500e1e8ff988ba9ad760a84874f0d7e06e7 (patch) | |
| tree | a3df4f29fef9fbd22e3eec431be373465f976e1d /src/client | |
| parent | Merge branch 'develop' of https://github.com/syuilo/misskey into develop (diff) | |
| download | sharkey-7a412500e1e8ff988ba9ad760a84874f0d7e06e7.tar.gz sharkey-7a412500e1e8ff988ba9ad760a84874f0d7e06e7.tar.bz2 sharkey-7a412500e1e8ff988ba9ad760a84874f0d7e06e7.zip | |
[Client] Fix #3427
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/common/scripts/should-mute-note.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |