mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Prevent saving unencrypted drafts
This commit is contained in:
parent
50d4595e3a
commit
f1a573ced5
1 changed files with 2 additions and 0 deletions
|
@ -4942,6 +4942,8 @@ public class FragmentCompose extends FragmentBase {
|
|||
}
|
||||
|
||||
if (save_drafts &&
|
||||
(data.draft.ui_encrypt == null ||
|
||||
EntityMessage.ENCRYPT_NONE.equals(data.draft.ui_encrypt)) &&
|
||||
(!"new".equals(action) ||
|
||||
answer > 0 ||
|
||||
!TextUtils.isEmpty(to) ||
|
||||
|
|
Loading…
Reference in a new issue