null check on invite object
This commit is contained in:
parent
a5176a16f2
commit
fdf7ea3c3e
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ public class StartConversationActivity extends XmppActivity implements OnRosterU
|
|||
}
|
||||
|
||||
final Contact contact = account.getRoster().getContact(contactJid);
|
||||
if (invite.getName() != null) {
|
||||
if (invite != null && invite.getName() != null) {
|
||||
contact.setServerName(invite.getName());
|
||||
}
|
||||
if (contact.isSelf()) {
|
||||
|
|
Reference in a new issue