mirror of https://github.com/M66B/FairEmail.git
Discard outer pEp message
This commit is contained in:
parent
9e168aaff7
commit
170e5442a6
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue