fix lints
This commit is contained in:
parent
6f8e3fe366
commit
a5241379af
5 changed files with 3 additions and 5 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue