Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a77a632b authored by Vincent Breitmoser's avatar Vincent Breitmoser Committed by cketti
Browse files

Display warning on encrypted-only messages

parent 9e102a57
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -91,6 +91,11 @@ public class MessageCryptoPresenter implements OnCryptoClickListener {
                        R.string.messageview_crypto_warning_error);
                break;
            }
            case ENCRYPTED_UNSIGNED: {
                showMessageCryptoWarning(messageView, account, messageViewInfo,
                        R.string.messageview_crypto_warning_unsigned);
                break;
            }

            case CANCELLED: {
                Drawable providerIcon = getOpenPgpApiProviderIcon(messageView.getContext(), account);
+1 −0
Original line number Diff line number Diff line
@@ -1200,6 +1200,7 @@ Please submit bug reports, contribute new features and ask questions at
    <string name="messageview_crypto_warning_expired">This message was signed by an <b>expired key!</b></string>
    <string name="messageview_crypto_warning_insecure">This message was signed by an <b>insecure key!</b></string>
    <string name="messageview_crypto_warning_error">There was an <b>error in this message\'s signature!</b></string>
    <string name="messageview_crypto_warning_unsigned">This message was encrypted, but not signed. It is <b>not end-to-end secure</b>!</string>
    <string name="recipient_error_non_ascii">Special characters are currently not supported!</string>
    <string name="recipient_error_parse_failed">Error parsing address!</string>
    <string name="account_settings_crypto_support_sign_only">Support signing of unencrypted messages</string>