Discard outer pEp message

This commit is contained in:
M66B 2021-03-02 20:24:33 +01:00
parent 9e168aaff7
commit 170e5442a6
1 changed files with 2 additions and 7 deletions

View File

@ -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();