mirror of https://github.com/M66B/FairEmail.git
Fix NUL characters in decrypted messages
This commit is contained in:
parent
a510e8013e
commit
54d630dd59
|
@ -3507,7 +3507,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
|
||||
// Write decrypted body
|
||||
EntityMessage m = db.message().getMessage(id);
|
||||
Helper.writeText(m.getFile(context), decrypted.toString());
|
||||
Helper.writeText(m.getFile(context), decrypted.toString().replace("\0", ""));
|
||||
|
||||
db.message().setMessageStored(id, new Date().getTime());
|
||||
|
||||
|
|
Loading…
Reference in New Issue