aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-05-10 21:06:43 +0200
committerChristian Schneppe <christian@pix-art.de>2017-05-10 21:06:43 +0200
commit6a7aeb1d0b1ea334504bd34b33e7a4fd0dce5564 (patch)
tree2a5fe9d153676d36ad251a79b1ac2d811d8d0972 /src/main/java/de/pixart/messenger/ui
parent66aa8520b8359d1718f70c3e16a5f745b2843120 (diff)
add ability to distrust inactive/trusted keys
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r--src/main/java/de/pixart/messenger/ui/OmemoActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/OmemoActivity.java b/src/main/java/de/pixart/messenger/ui/OmemoActivity.java
index 499654cba..409dca033 100644
--- a/src/main/java/de/pixart/messenger/ui/OmemoActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/OmemoActivity.java
@@ -59,7 +59,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;