diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-05-10 21:06:43 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-05-10 21:06:43 +0200 |
commit | 6a7aeb1d0b1ea334504bd34b33e7a4fd0dce5564 (patch) | |
tree | 2a5fe9d153676d36ad251a79b1ac2d811d8d0972 | |
parent | 66aa8520b8359d1718f70c3e16a5f745b2843120 (diff) |
add ability to distrust inactive/trusted keys
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/OmemoActivity.java | 2 |
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; |