aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-10-14 20:34:59 +0200
committerChristian Schneppe <christian@pix-art.de>2017-10-14 20:34:59 +0200
commit9654befc01aa92ace944815a7b2ad16713d0a70f (patch)
tree8b5d5ac175f6dc847b0405b107603e8b5ef6010e
parentda0d88bfa4a77ea40d449ab7d3c98e1220dc2bc2 (diff)
correct (un)verified contacts icon (lock/shield)
fixes https://github.com/kriztan/Pix-Art-Messenger/issues/139
Diffstat (limited to '')
-rw-r--r--src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java
index ef40825db..c79c9ede4 100644
--- a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java
+++ b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java
@@ -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;
}
}