diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-11-28 15:08:33 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-11-28 15:08:33 +0100 |
commit | fb6f0649c3a44de8a0102d8005654888fca2e96c (patch) | |
tree | 70741d7fb41d49d3fccf49771f9b545e65413f88 | |
parent | fdf19ae287c4340f72d9d4cefcab0ed14998af82 (diff) |
sent messages from unverified devices show red lock
-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 45d328e2..5418b344 100644 --- a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java +++ b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java @@ -208,7 +208,7 @@ public class MessageAdapter extends ArrayAdapter<Message> implements CopyTextVie .getAccount().getAxolotlService().getFingerprintTrust( message.getFingerprint()); - if(status == null || (!status.isVerified() && inValidSession)) { + if(status == null || (type == SENT ? !status.isTrusted() : (!status.isVerified() && inValidSession))) { viewHolder.indicator.setColorFilter(0xffc64545); viewHolder.indicator.setAlpha(1.0f); } else { |