From ef5508e5b1ea3c50adefe3264de574ab86f47a54 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 19 Jan 2024 10:49:48 +0100 Subject: [PATCH] trigger incoming call integration only for rtp connections --- .../conversations/xmpp/jingle/JingleConnectionManager.java | 4 +++- 1 file changed, 3 insertions(+), 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 c07a3b60f..d9389c506 100644 --- a/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java +++ b/src/main/java/eu/siacs/conversations/xmpp/jingle/JingleConnectionManager.java @@ -135,7 +135,9 @@ public class JingleConnectionManager extends AbstractConnectionManager { } connections.put(id, connection); - CallIntegrationConnectionService.addNewIncomingCall(getXmppConnectionService(), id); + if (connection instanceof JingleRtpConnection) { + CallIntegrationConnectionService.addNewIncomingCall(getXmppConnectionService(), id); + } mXmppConnectionService.updateConversationUi(); connection.deliverPacket(packet);