chore (client): remove debug prints

This commit is contained in:
naskya 2024-05-16 16:47:35 +09:00
parent 9298a6252d
commit 287dcece57
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -13,9 +13,7 @@ function checkLangMute(
note: entities.Note,
mutedLangs: Array<string | string[]>,
): Muted {
console.log(note);
const mutedLangList = mutedLangs.flat();
console.log(mutedLangList);
const noteLang = note.lang ?? detectLanguage(note.text ?? "") ?? "no-lang";
for (const mutedLang of mutedLangList) {
if (languageContains(mutedLang, noteLang)) {