mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
Fix issue with group avatar display.
Some legacy code was making the contact photo visible when it shouldn't be.
This commit is contained in:
parent
6ce278114f
commit
53050b3845
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user