diff options
author | Ingo Bauersachs <ingo@jitsi.org> | 2017-02-24 07:56:13 +0100 |
---|---|---|
committer | Ingo Bauersachs <ingo@jitsi.org> | 2017-02-24 07:56:13 +0100 |
commit | f6f8783930083e164893721066f4d7299caf8d7e (patch) | |
tree | c0dd29c0cd4cdb295e8c681efcea9c0cfb24d2da /src/net/java | |
parent | 9369258b0ea73762ef643819a6e7d2a7bae4f90f (diff) | |
download | jitsi-f6f8783930083e164893721066f4d7299caf8d7e.zip jitsi-f6f8783930083e164893721066f4d7299caf8d7e.tar.gz jitsi-f6f8783930083e164893721066f4d7299caf8d7e.tar.bz2 |
Fix handling of sip: URIs
Closes #315
Diffstat (limited to 'src/net/java')
-rw-r--r-- | src/net/java/sip/communicator/impl/protocol/sip/ProtocolProviderServiceSipImpl.java | 2 |
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 = ""; |