mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-28 20:45:17 +00:00
Weird NPE
This commit is contained in:
parent
c83d57aa59
commit
fa5e993191
@ -131,6 +131,8 @@ public class ConversationListItem extends RelativeLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void setContactPhoto(final Recipient recipient) {
|
private void setContactPhoto(final Recipient recipient) {
|
||||||
|
if (recipient == null) return;
|
||||||
|
|
||||||
if (isBadgeEnabled()) {
|
if (isBadgeEnabled()) {
|
||||||
contactPhotoBadge.setImageBitmap(recipient.getContactPhoto());
|
contactPhotoBadge.setImageBitmap(recipient.getContactPhoto());
|
||||||
contactPhotoBadge.assignContactFromPhone(recipient.getNumber(), true);
|
contactPhotoBadge.assignContactFromPhone(recipient.getNumber(), true);
|
||||||
|
Loading…
Reference in New Issue
Block a user