S/MIME is natively supported

pull/183/head
M66B 5 years ago
parent 308087a108
commit 7b21667657

@ -3401,8 +3401,11 @@ public class FragmentCompose extends FragmentBase {
// Encryption // Encryption
if (ref.ui_encrypt != null && !EntityMessage.ENCRYPT_NONE.equals(ref.ui_encrypt)) { if (ref.ui_encrypt != null && !EntityMessage.ENCRYPT_NONE.equals(ref.ui_encrypt)) {
if (ActivityBilling.isPro(context) && Helper.isOpenKeychainInstalled(context)) if (ActivityBilling.isPro(context))
data.draft.ui_encrypt = ref.ui_encrypt; if (Helper.isOpenKeychainInstalled(context) ||
EntityMessage.SMIME_SIGNONLY.equals(ref.encrypt) ||
EntityMessage.SMIME_SIGNENCRYPT.equals(ref.encrypt))
data.draft.ui_encrypt = ref.ui_encrypt;
} }
// Reply template // Reply template

Loading…
Cancel
Save