From fb6f0649c3a44de8a0102d8005654888fca2e96c Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 28 Nov 2016 15:08:33 +0100 Subject: [PATCH] sent messages from unverified devices show red lock --- .../java/eu/siacs/conversations/ui/adapter/MessageAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 45d328e23..5418b344d 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 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 {