mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 10:37:59 +01:00
[bosh] Fix BOSHConfiguration.getURI()
Reported-by: Damian Minkov <damencho@jitsi.org>
Fixes: aa441d743c
("[bosh] Use ConnectionConfiguration.getHostString() in BOSHConfiguration")
This commit is contained in:
parent
c9af6576c0
commit
8ebe453363
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue