PGP is supposed to be free to use

pull/178/head
M66B 5 years ago
parent 2e631c9a17
commit bba4b99c32

@ -4226,7 +4226,9 @@ public class FragmentCompose extends FragmentBase {
bottom_navigation.getMenu().findItem(R.id.action_redo).setVisible(draft.revision < draft.revisions);
if (needsEncryption) {
if (ActivityBilling.isPro(getContext())) {
if (ActivityBilling.isPro(getContext()) ||
EntityMessage.PGP_SIGNONLY.equals(draft.ui_encrypt) ||
EntityMessage.PGP_SIGNENCRYPT.equals(draft.ui_encrypt)) {
boolean interactive = args.getBoolean("interactive");
onEncrypt(draft, action, interactive);
} else

Loading…
Cancel
Save