aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-11-28 15:08:33 +0100
committerDaniel Gultsch <daniel@gultsch.de>2016-11-28 15:08:33 +0100
commitfb6f0649c3a44de8a0102d8005654888fca2e96c (patch)
tree70741d7fb41d49d3fccf49771f9b545e65413f88 /src
parentfdf19ae287c4340f72d9d4cefcab0ed14998af82 (diff)
sent messages from unverified devices show red lock
Diffstat (limited to 'src')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java2
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 {