diff --git a/src/lib/api/feed-manip.ts b/src/lib/api/feed-manip.ts index f2500c4f..3ff156dd 100644 --- a/src/lib/api/feed-manip.ts +++ b/src/lib/api/feed-manip.ts @@ -213,6 +213,12 @@ export class FeedTuner { hasProp(item.post.record, 'text') && typeof item.post.record.text === 'string' ) { + // Treat empty text the same as no text. + if (item.post.record.text.length === 0) { + hasPreferredLang = true + break + } + const res = lande(item.post.record.text) if (langsCode3.includes(res[0][0])) {