mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 00:23:09 +02:00
Discard outer pEp message
This commit is contained in:
@@ -6965,13 +6965,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
String subject = helper.getSubject();
|
||||
String html = helper.getMessageParts().getHtml(context);
|
||||
|
||||
if (!TextUtils.isEmpty(html)) {
|
||||
Document document = JsoupEx.parse(message.getFile(context));
|
||||
document.body().prependElement("hr");
|
||||
document.body().prepend(html);
|
||||
|
||||
Helper.writeText(message.getFile(context), document.body().html());
|
||||
}
|
||||
if (!TextUtils.isEmpty(html))
|
||||
Helper.writeText(message.getFile(context), html);
|
||||
|
||||
try {
|
||||
db.beginTransaction();
|
||||
|
||||
Reference in New Issue
Block a user