Jsoup parse from file to reduce memory usage

This commit is contained in:
M66B
2020-02-20 10:07:01 +01:00
parent 48a5278ba0
commit 873a696a52
6 changed files with 50 additions and 13 deletions

View File

@@ -484,8 +484,7 @@ public class MessageHelper {
}
// Build html body
String html = Helper.readText(message.getFile(context));
Document document = JsoupEx.parse(html);
Document document = JsoupEx.parse(message.getFile(context));
// When sending message
if (identity != null)