Fix crash in chat when no user do not have proxy
This commit is contained in:
parent
1f449c88af
commit
56445fc96a
1 changed files with 1 additions and 1 deletions
|
@ -491,7 +491,7 @@ public class GroupChatFragment extends Fragment implements ChatRoomListener, Con
|
||||||
//TODO error
|
//TODO error
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Address proxyConfigContact = core.getDefaultProxyConfig().getContact();
|
Address proxyConfigContact = (core.getDefaultProxyConfig() != null) ? core.getDefaultProxyConfig().getContact() : null;
|
||||||
if (proxyConfigContact != null) {
|
if (proxyConfigContact != null) {
|
||||||
mChatRoom = core.findOneToOneChatRoom(proxyConfigContact, mRemoteSipAddress);
|
mChatRoom = core.findOneToOneChatRoom(proxyConfigContact, mRemoteSipAddress);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue