Skip to content

Commit

Permalink
[Client] Fix #3427
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Nov 29, 2018
1 parent ab594d1 commit 7a41250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/app/common/scripts/should-mute-note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7a41250

Please sign in to comment.