fix lints

This commit is contained in:
Johann150
2022-06-24 12:44:22 +02:00
parent 6f8e3fe366
commit a5241379af
5 changed files with 3 additions and 5 deletions

View File

@ -5,7 +5,7 @@ export function checkWordMute(note: Record<string, any>, me: Record<string, any>
if (mutedWords.length > 0) {
const text = ((note.cw ?? '') + '\n' + (note.text ?? '')).trim();
if (text == '') return false;
if (text === '') return false;
const matched = mutedWords.some(filter => {
if (Array.isArray(filter)) {