From 400f019e34c76aacfb0621cabe1959b0606e87b9 Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Thu, 19 May 2011 19:03:34 +0000 Subject: Disable cross protocol call transfers. --- .../java/sip/communicator/impl/gui/main/call/TransferCallButton.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/net/java/sip') 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(); -- cgit v1.1