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