[bosh] Fix BOSHConfiguration.getURI()

Reported-by: Damian Minkov <damencho@jitsi.org>
Fixes: aa441d743c ("[bosh] Use ConnectionConfiguration.getHostString() in BOSHConfiguration")
master
Florian Schmaus 3 months ago
parent c9af6576c0
commit 8ebe453363
  1. 2
      smack-bosh/src/main/java/org/jivesoftware/smack/bosh/BOSHConfiguration.java

@ -77,7 +77,7 @@ public final class BOSHConfiguration extends ConnectionConfiguration {
}
public URI getURI() throws URISyntaxException {
String uri = https ? "https://" : "http://" + getHostString() + ":" + this.port + file;
String uri = (https ? "https://" : "http://") + getHostString() + ":" + this.port + file;
return new URI(uri);
}

Loading…
Cancel
Save