diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-11-29 21:10:29 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-11-29 21:10:29 +0100 |
commit | 08b22e0461350b5a2a87cd6d14d8d657cdf15376 (patch) | |
tree | b1b7e8d06580f00a238066662904910d78270eec /src | |
parent | 2d97662edd765475e00ae51053896a15a4622bd0 (diff) |
sent messages from unverified devices show red lock
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java | 2 |
1 files changed, 1 insertions, 1 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 6939ad1d7..8014ac861 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java @@ -224,7 +224,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 { |