trigger incoming call integration only for rtp connections

This commit is contained in:
Daniel Gultsch 2024-01-19 10:49:48 +01:00
parent b7da7f3367
commit ef5508e5b1
No known key found for this signature in database
GPG key ID: F43D18AD2A0982C2

View file

@ -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);