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