additional null check in case to is null
This commit is contained in:
parent
80cac3bd69
commit
96f6ae2b49
|
@ -174,7 +174,7 @@ public class JingleConnectionManager extends AbstractConnectionManager {
|
|||
final boolean fromSelf = from.asBareJid().equals(account.getJid().asBareJid());
|
||||
final AbstractJingleConnection.Id id;
|
||||
if (fromSelf) {
|
||||
if (to.isFullJid()) {
|
||||
if (to != null && to.isFullJid()) {
|
||||
id = AbstractJingleConnection.Id.of(account, to, sessionId);
|
||||
} else {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue