Merge pull request #530 from Flowdalic/fix-bosh-url

[bosh] Fix BOSHConfiguration.getURI()
master
Florian Schmaus 3 months ago committed by GitHub
commit 52a3490e07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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