add ability to distrust inactive/trusted keys

This commit is contained in:
Daniel Gultsch 2017-05-06 18:38:23 +02:00
parent 0f2e60d576
commit b0a8da35db

View File

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