diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-24 19:47:48 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-06-24 19:47:48 +0900 |
| commit | 274352beab8087189944ea43d8fedec62d109ac9 (patch) | |
| tree | a0cbaebe9261acfa44b1d214e3aa25601d40c979 /packages/client/src/scripts | |
| parent | chore(client): tweak mini-chart rendering (diff) | |
| parent | fix lints (diff) | |
| download | misskey-274352beab8087189944ea43d8fedec62d109ac9.tar.gz misskey-274352beab8087189944ea43d8fedec62d109ac9.tar.bz2 misskey-274352beab8087189944ea43d8fedec62d109ac9.zip | |
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
Diffstat (limited to 'packages/client/src/scripts')
| -rw-r--r-- | packages/client/src/scripts/check-word-mute.ts | 2 |
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)) { |