Fix issue with group avatar display.

Some legacy code was making the contact photo visible when it shouldn't
be.
master
Greyson Parrelli 2018-10-27 23:11:29 -07:00
parent 6ce278114f
commit 53050b3845
1 changed files with 1 additions and 7 deletions

View File

@ -558,13 +558,7 @@ public class ConversationItem extends LinearLayout
private void setContactPhoto(@NonNull Recipient recipient) {
if (contactPhoto == null) return;
if (messageRecord.isOutgoing() || !groupThread) {
contactPhoto.setVisibility(View.GONE);
} else {
contactPhoto.setAvatar(glideRequests, recipient, true);
contactPhoto.setVisibility(View.VISIBLE);
}
contactPhoto.setAvatar(glideRequests, recipient, true);
}
private SpannableString linkifyMessageBody(SpannableString messageBody, boolean shouldLinkifyAllLinks) {