fix lints

This commit is contained in:
Johann150 2022-06-24 12:44:22 +02:00
parent 6f8e3fe366
commit a5241379af
No known key found for this signature in database
GPG key ID: 9EE6577A2A06F8F1
5 changed files with 3 additions and 5 deletions

View file

@ -18,7 +18,7 @@ export async function checkWordMute(note: NoteLike, me: UserLike | null | undefi
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)) {