sent messages from unverified devices show red lock
This commit is contained in:
parent
fdf19ae287
commit
fb6f0649c3
|
@ -208,7 +208,7 @@ public class MessageAdapter extends ArrayAdapter<Message> implements CopyTextVie
|
||||||
.getAccount().getAxolotlService().getFingerprintTrust(
|
.getAccount().getAxolotlService().getFingerprintTrust(
|
||||||
message.getFingerprint());
|
message.getFingerprint());
|
||||||
|
|
||||||
if(status == null || (!status.isVerified() && inValidSession)) {
|
if(status == null || (type == SENT ? !status.isTrusted() : (!status.isVerified() && inValidSession))) {
|
||||||
viewHolder.indicator.setColorFilter(0xffc64545);
|
viewHolder.indicator.setColorFilter(0xffc64545);
|
||||||
viewHolder.indicator.setAlpha(1.0f);
|
viewHolder.indicator.setAlpha(1.0f);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue