diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2015-10-31 10:57:57 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2015-10-31 10:57:57 +0100 |
commit | bca29cf7fd6fcf7438f39d81833cda18a94eefd9 (patch) | |
tree | a744da7b2e8cd5249c3c1fb58186e83544df8381 /src/main/java/eu/siacs/conversations/ui/adapter | |
parent | b9de159e97090e132b74e934bc42fa6186105fd2 (diff) |
explicitly mark verified omemo keys in UI
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java index 019b83d35..f9f6e672b 100644 --- a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java +++ b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java @@ -185,7 +185,7 @@ public class MessageAdapter extends ArrayAdapter<Message> { .getAccount().getAxolotlService().getFingerprintTrust( message.getAxolotlFingerprint()); - if(trust == null || trust != XmppAxolotlSession.Trust.TRUSTED) { + if(trust == null || (!trust.trusted() && !trust.trustedInactive())) { viewHolder.indicator.setColorFilter(activity.getWarningTextColor()); viewHolder.indicator.setAlpha(1.0f); } else { |