mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-27 19:22:15 -05:00
add ability to distrust inactive/trusted keys
This commit is contained in:
parent
0f2e60d576
commit
b0a8da35db
@ -60,7 +60,7 @@ public abstract class OmemoActivity extends XmppActivity {
|
|||||||
if (!status.isActive() || status.isVerified()) {
|
if (!status.isActive() || status.isVerified()) {
|
||||||
verifyScan.setVisible(false);
|
verifyScan.setVisible(false);
|
||||||
}
|
}
|
||||||
distrust.setVisible(status.isVerified());
|
distrust.setVisible(status.isVerified() || (!status.isActive() && status.isTrusted()));
|
||||||
}
|
}
|
||||||
this.mSelectedAccount = (Account) account;
|
this.mSelectedAccount = (Account) account;
|
||||||
this.mSelectedFingerprint = (String) fingerprint;
|
this.mSelectedFingerprint = (String) fingerprint;
|
||||||
|
Loading…
Reference in New Issue
Block a user