mirror of https://github.com/M66B/FairEmail.git
Fixed deleting key data on auto save
This commit is contained in:
parent
237768b4f8
commit
160a658ed9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue