mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Enable cld3
This commit is contained in:
@@ -1716,7 +1716,7 @@ public class HtmlHelper {
|
||||
if (!language_detection)
|
||||
return null;
|
||||
|
||||
String text = getPreview(body);
|
||||
String text = getFullText(body);
|
||||
Locale locale = TextHelper.detectLanguage(context, text);
|
||||
return (locale == null ? null : locale.getLanguage());
|
||||
} catch (Throwable ex) {
|
||||
|
||||
Reference in New Issue
Block a user