From b0a8da35db4d00ec532a36acaa0be4118ead883b Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sat, 6 May 2017 18:38:23 +0200 Subject: [PATCH] add ability to distrust inactive/trusted keys --- src/main/java/eu/siacs/conversations/ui/OmemoActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/OmemoActivity.java b/src/main/java/eu/siacs/conversations/ui/OmemoActivity.java index fcf9b3de9..20ae71b03 100644 --- a/src/main/java/eu/siacs/conversations/ui/OmemoActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/OmemoActivity.java @@ -60,7 +60,7 @@ public abstract class OmemoActivity extends XmppActivity { if (!status.isActive() || status.isVerified()) { verifyScan.setVisible(false); } - distrust.setVisible(status.isVerified()); + distrust.setVisible(status.isVerified() || (!status.isActive() && status.isTrusted())); } this.mSelectedAccount = (Account) account; this.mSelectedFingerprint = (String) fingerprint;