mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Jsoup parse from file to reduce memory usage
This commit is contained in:
@@ -3078,8 +3078,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
div.appendChild(p);
|
||||
|
||||
// Get referenced message body
|
||||
String rhtml = Helper.readText(ref.getFile(context));
|
||||
Document d = JsoupEx.parse(rhtml);
|
||||
Document d = JsoupEx.parse(ref.getFile(context));
|
||||
|
||||
// Remove signature separators
|
||||
boolean remove_signatures = prefs.getBoolean("remove_signatures", false);
|
||||
|
||||
Reference in New Issue
Block a user