mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-20 21:27:07 +00:00
Removed createTempFile/draft copy
This commit is contained in:
parent
daf75f80df
commit
999c2bb019
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue