aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIngo Bauersachs <ingo@jitsi.org>2017-02-24 07:56:13 +0100
committerIngo Bauersachs <ingo@jitsi.org>2017-02-24 07:56:13 +0100
commitf6f8783930083e164893721066f4d7299caf8d7e (patch)
treec0dd29c0cd4cdb295e8c681efcea9c0cfb24d2da /src
parent9369258b0ea73762ef643819a6e7d2a7bae4f90f (diff)
downloadjitsi-f6f8783930083e164893721066f4d7299caf8d7e.zip
jitsi-f6f8783930083e164893721066f4d7299caf8d7e.tar.gz
jitsi-f6f8783930083e164893721066f4d7299caf8d7e.tar.bz2
Fix handling of sip: URIs
Closes #315
Diffstat (limited to 'src')
-rw-r--r--src/net/java/sip/communicator/impl/protocol/sip/ProtocolProviderServiceSipImpl.java2
1 files changed, 2 insertions, 0 deletions
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 = "";