From 96f6ae2b4956ac69afd245f89c4dd1f6e37305a3 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 23 Apr 2020 20:11:45 +0200 Subject: [PATCH] additional null check in case to is null --- .../conversations/xmpp/jingle/JingleConnectionManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java index df05e631b..eff4f7edb 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java +++ b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java @@ -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;