diff options
author | Damian Minkov <damencho@jitsi.org> | 2011-05-19 19:03:34 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2011-05-19 19:03:34 +0000 |
commit | 400f019e34c76aacfb0621cabe1959b0606e87b9 (patch) | |
tree | c319bf4dd2f4ec58d7fe11b9fae463fad0f98858 /src/net/java/sip | |
parent | ec16101732ae60d71ff6cb811d033540d7ce79b4 (diff) | |
download | jitsi-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.java | 5 |
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>(); |