From f6f8783930083e164893721066f4d7299caf8d7e Mon Sep 17 00:00:00 2001 From: Ingo Bauersachs Date: Fri, 24 Feb 2017 07:56:13 +0100 Subject: Fix handling of sip: URIs Closes #315 --- .../communicator/impl/protocol/sip/ProtocolProviderServiceSipImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/net/java/sip/communicator/impl/protocol/sip/ProtocolProviderServiceSipImpl.java b/src/net/java/sip/communicator/impl/protocol/sip/ProtocolProviderServiceSipImpl.java index a2a98b8..927c0a3 100644 --- a/src/net/java/sip/communicator/impl/protocol/sip/ProtocolProviderServiceSipImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/sip/ProtocolProviderServiceSipImpl.java @@ -2465,6 +2465,8 @@ public class ProtocolProviderServiceSipImpl uriStr = uriStr.substring("callto:".length()); else if(uriStr.toLowerCase().startsWith("sips:")) uriStr = uriStr.substring("sips:".length()); + else if(uriStr.toLowerCase().startsWith("sip:")) + uriStr = uriStr.substring("sip:".length()); String user = uriStr; String remainder = ""; -- cgit v1.1