mirror of https://github.com/M66B/FairEmail.git
S/MIME is natively supported
This commit is contained in:
parent
308087a108
commit
7b21667657
|
@ -3401,7 +3401,10 @@ public class FragmentCompose extends FragmentBase {
|
|||
|
||||
// Encryption
|
||||
if (ref.ui_encrypt != null && !EntityMessage.ENCRYPT_NONE.equals(ref.ui_encrypt)) {
|
||||
if (ActivityBilling.isPro(context) && Helper.isOpenKeychainInstalled(context))
|
||||
if (ActivityBilling.isPro(context))
|
||||
if (Helper.isOpenKeychainInstalled(context) ||
|
||||
EntityMessage.SMIME_SIGNONLY.equals(ref.encrypt) ||
|
||||
EntityMessage.SMIME_SIGNENCRYPT.equals(ref.encrypt))
|
||||
data.draft.ui_encrypt = ref.ui_encrypt;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue