mirror of https://github.com/M66B/FairEmail.git
Reply encrypted always
This commit is contained in:
parent
7c20e2ee97
commit
813ee4b3cc
|
@ -5044,13 +5044,15 @@ public class FragmentCompose extends FragmentBase {
|
||||||
EntityMessage.PGP_SIGNENCRYPT.equals(ref.ui_encrypt)) {
|
EntityMessage.PGP_SIGNENCRYPT.equals(ref.ui_encrypt)) {
|
||||||
if (Helper.isOpenKeychainInstalled(context) &&
|
if (Helper.isOpenKeychainInstalled(context) &&
|
||||||
selected.sign_key != null &&
|
selected.sign_key != null &&
|
||||||
PgpHelper.hasPgpKey(context, recipients))
|
(EntityMessage.PGP_SIGNENCRYPT.equals(ref.ui_encrypt) ||
|
||||||
|
PgpHelper.hasPgpKey(context, recipients)))
|
||||||
data.draft.ui_encrypt = ref.ui_encrypt;
|
data.draft.ui_encrypt = ref.ui_encrypt;
|
||||||
} else if (EntityMessage.SMIME_SIGNONLY.equals(ref.ui_encrypt) ||
|
} else if (EntityMessage.SMIME_SIGNONLY.equals(ref.ui_encrypt) ||
|
||||||
EntityMessage.SMIME_SIGNENCRYPT.equals(ref.ui_encrypt)) {
|
EntityMessage.SMIME_SIGNENCRYPT.equals(ref.ui_encrypt)) {
|
||||||
if (ActivityBilling.isPro(context) &&
|
if (ActivityBilling.isPro(context) &&
|
||||||
selected.sign_key_alias != null &&
|
selected.sign_key_alias != null &&
|
||||||
SmimeHelper.hasSmimeKey(context, recipients))
|
(EntityMessage.SMIME_SIGNENCRYPT.equals(ref.ui_encrypt) ||
|
||||||
|
SmimeHelper.hasSmimeKey(context, recipients)))
|
||||||
data.draft.ui_encrypt = ref.ui_encrypt;
|
data.draft.ui_encrypt = ref.ui_encrypt;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue