correct (un)verified contacts icon (lock/shield)

fixes https://github.com/kriztan/Pix-Art-Messenger/issues/139
This commit is contained in:
Christian Schneppe 2017-10-14 20:34:59 +02:00
parent da0d88bfa4
commit 9654befc01

View file

@ -283,10 +283,10 @@ public class MessageAdapter extends ArrayAdapter<Message> implements CopyTextVie
} else {
boolean verified = false;
if (message.getEncryption() == Message.ENCRYPTION_AXOLOTL) {
FingerprintStatus status = message.getConversation()
final FingerprintStatus status = message.getConversation()
.getAccount().getAxolotlService().getFingerprintTrust(
message.getFingerprint());
if (status != null && status.isTrustedAndActive()) {
if (status != null && status.isVerified()) {
verified = true;
}
}