View encrypted message improvements

This commit is contained in:
M66B
2018-09-03 08:43:44 +00:00
parent c75079a5ce
commit a64b7999f2
6 changed files with 61 additions and 64 deletions

View File

@@ -125,8 +125,9 @@ public class EntityMessage implements Serializable {
File file = getFile(context, id);
BufferedWriter out = null;
try {
this.body = (body == null ? "" : body);
out = new BufferedWriter(new FileWriter(file));
out.write(body == null ? "" : body);
out.write(body);
} finally {
if (out != null)
try {