sent messages from unverified devices show red lock

This commit is contained in:
Daniel Gultsch 2016-11-28 15:08:33 +01:00
parent fdf19ae287
commit fb6f0649c3
1 changed files with 1 additions and 1 deletions

View File

@ -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 {