Removed createTempFile/draft copy

pull/207/head
M66B 3 years ago
parent daf75f80df
commit 999c2bb019

@ -1427,7 +1427,7 @@ class Core {
for (Message imessage : map.keySet()) {
EntityMessage message = map.get(imessage);
File file = File.createTempFile("draft", "." + message.id, context.getCacheDir());
File file = new File(message.getFile(context).getAbsoluteFile() + ".copy");
try (OutputStream os = new BufferedOutputStream(new FileOutputStream(file))) {
imessage.writeTo(os);
}

Loading…
Cancel
Save