From 3bfbc472610c2b87a01ab52bf802f8d56c978c5f Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Tue, 8 Nov 2011 07:49:16 +0000 Subject: [PATCH] Fixes checking for jabber contacts when calling from call history(jid with resource). --- .../protocol/jabber/OperationSetBasicTelephonyJabberImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java index 8be4fdb24..1966a1fd2 100644 --- a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicTelephonyJabberImpl.java @@ -288,7 +288,7 @@ else if(calleeAddress.endsWith(GOOGLE_VOICE_DOMAIN)) int bestPriority = -1; if(!getProtocolProvider().getConnection().getRoster().contains( - calleeAddress) && !alwaysCallGtalk) + StringUtils.parseBareAddress(calleeAddress)) && !alwaysCallGtalk) { throw new OperationFailedException( calleeAddress + " does not belong to our contact list",