mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-13 20:43:26 +02:00
Fixed deleting key data on auto save
This commit is contained in:
@@ -4799,7 +4799,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
return draft;
|
||||
}
|
||||
|
||||
if (!shouldEncrypt)
|
||||
if (!shouldEncrypt && !autosave)
|
||||
for (EntityAttachment attachment : attachments)
|
||||
if (attachment.isEncryption())
|
||||
db.attachment().deleteAttachment(attachment.id);
|
||||
|
||||
Reference in New Issue
Block a user