mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 23:26:12 +02:00
Allow saving signed messages
This commit is contained in:
@@ -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<>();
|
||||
|
||||
Reference in New Issue
Block a user