diff --git a/packages/backend/src/misc/check-word-mute.ts b/packages/backend/src/misc/check-word-mute.ts index df5348b02c..950d1e3dd9 100644 --- a/packages/backend/src/misc/check-word-mute.ts +++ b/packages/backend/src/misc/check-word-mute.ts @@ -56,7 +56,7 @@ function checkWordMute( } } - return notMuted; + return NotMuted; } export async function getWordHardMute( diff --git a/packages/client/src/scripts/check-word-mute.ts b/packages/client/src/scripts/check-word-mute.ts index da44006392..c04bde9e67 100644 --- a/packages/client/src/scripts/check-word-mute.ts +++ b/packages/client/src/scripts/check-word-mute.ts @@ -47,6 +47,8 @@ function checkWordMute( // This should never happen due to input sanitisation. } } + + return NotMuted; } export function getWordSoftMute(