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 boolean fromSelf = from.asBareJid().equals(account.getJid().asBareJid());
|
||||||
final AbstractJingleConnection.Id id;
|
final AbstractJingleConnection.Id id;
|
||||||
if (fromSelf) {
|
if (fromSelf) {
|
||||||
if (to.isFullJid()) {
|
if (to != null && to.isFullJid()) {
|
||||||
id = AbstractJingleConnection.Id.of(account, to, sessionId);
|
id = AbstractJingleConnection.Id.of(account, to, sessionId);
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue