PGP is supposed to be free to use

This commit is contained in:
M66B 2020-04-17 10:31:03 +02:00
parent 2e631c9a17
commit bba4b99c32
1 changed files with 3 additions and 1 deletions

View File

@ -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