mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 12:18:38 +00:00

committed by
Moxie Marlinspike

parent
00a18f58a7
commit
796940bda5
@@ -58,7 +58,9 @@ public class ContactSelectionListItem extends RelativeLayout implements Recipien
|
||||
} else if (!TextUtils.isEmpty(number)) {
|
||||
this.recipients = RecipientFactory.getRecipientsFromString(getContext(), number, true);
|
||||
|
||||
if (this.recipients.getPrimaryRecipient().getName() != null) {
|
||||
if (this.recipients.getPrimaryRecipient() != null &&
|
||||
this.recipients.getPrimaryRecipient().getName() != null)
|
||||
{
|
||||
name = this.recipients.getPrimaryRecipient().getName();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user