mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-25 15:32:52 +00:00
Fixed formatting of inline encrypted messages
This commit is contained in:
parent
7f49de2a83
commit
25a1df8350
1 changed files with 3 additions and 1 deletions
|
@ -4965,7 +4965,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
db.beginTransaction();
|
||||
|
||||
// Write decrypted body
|
||||
Helper.copy(plain, message.getFile(context));
|
||||
String text = Helper.readText(plain);
|
||||
String html = HtmlHelper.formatPre(text);
|
||||
Helper.writeText(message.getFile(context), html);
|
||||
db.message().setMessageStored(message.id, new Date().getTime());
|
||||
db.message().setMessageFts(message.id, false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue