aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2011-05-19 19:03:34 +0000
committerDamian Minkov <damencho@jitsi.org>2011-05-19 19:03:34 +0000
commit400f019e34c76aacfb0621cabe1959b0606e87b9 (patch)
treec319bf4dd2f4ec58d7fe11b9fae463fad0f98858 /src/net/java/sip
parentec16101732ae60d71ff6cb811d033540d7ce79b4 (diff)
downloadjitsi-400f019e34c76aacfb0621cabe1959b0606e87b9.zip
jitsi-400f019e34c76aacfb0621cabe1959b0606e87b9.tar.gz
jitsi-400f019e34c76aacfb0621cabe1959b0606e87b9.tar.bz2
Disable cross protocol call transfers.
Diffstat (limited to 'src/net/java/sip')
-rw-r--r--src/net/java/sip/communicator/impl/gui/main/call/TransferCallButton.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/impl/gui/main/call/TransferCallButton.java b/src/net/java/sip/communicator/impl/gui/main/call/TransferCallButton.java
index b8687f3..afdf84c 100644
--- a/src/net/java/sip/communicator/impl/gui/main/call/TransferCallButton.java
+++ b/src/net/java/sip/communicator/impl/gui/main/call/TransferCallButton.java
@@ -118,7 +118,10 @@ public class TransferCallButton
Call activeCall = activeCalls.next();
if (!activeCall.equals(call)
// We're only interested in one to one calls
- && activeCall.getCallPeerCount() == 1)
+ && activeCall.getCallPeerCount() == 1
+ // we are interested only in calls from same protocol
+ && call.getProtocolProvider().getProtocolName().equals(
+ activeCall.getProtocolProvider().getProtocolName()))
{
if (transferCalls == null)
transferCalls = new LinkedList<CallPeer>();