Inline language recognition

This commit is contained in:
M66B
2020-03-26 15:25:44 +01:00
parent cb3629b880
commit 1c437a52f5
11 changed files with 62 additions and 52 deletions

View File

@@ -422,8 +422,9 @@ public class EntityRule {
Helper.writeText(file, body);
db.message().setMessageContent(reply.id,
true,
HtmlHelper.getLanguage(context, body),
false,
HtmlHelper.getPreview(file),
HtmlHelper.getPreview(body),
null);
EntityOperation.queue(context, reply, EntityOperation.SEND);