summaryrefslogtreecommitdiff
path: root/packages/client/src/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/client/src/scripts')
-rw-r--r--packages/client/src/scripts/check-word-mute.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/client/src/scripts/check-word-mute.ts b/packages/client/src/scripts/check-word-mute.ts
index aafdd8920a..35d40a6e08 100644
--- a/packages/client/src/scripts/check-word-mute.ts
+++ b/packages/client/src/scripts/check-word-mute.ts
@@ -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)) {