S/MIME is natively supported

pull/183/head
M66B 5 years ago
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…
Cancel
Save