mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 14:41:08 +00:00
Allow saving signed messages
This commit is contained in:
parent
7379c4f90e
commit
24f3142144
1 changed files with 3 additions and 2 deletions
|
@ -5656,8 +5656,9 @@ public class FragmentCompose extends FragmentBase {
|
|||
action == R.id.action_undo ||
|
||||
action == R.id.action_redo ||
|
||||
action == R.id.action_check) {
|
||||
boolean unencrypted = (draft.ui_encrypt == null ||
|
||||
EntityMessage.ENCRYPT_NONE.equals(draft.ui_encrypt));
|
||||
boolean unencrypted =
|
||||
(!EntityMessage.PGP_SIGNENCRYPT.equals(draft.ui_encrypt) &&
|
||||
!EntityMessage.SMIME_SIGNENCRYPT.equals(draft.ui_encrypt));
|
||||
if ((dirty && unencrypted) || encrypted) {
|
||||
if (save_drafts) {
|
||||
Map<String, String> c = new HashMap<>();
|
||||
|
|
Loading…
Reference in a new issue