[bosh] Fix BOSHConfiguration.getURI()

Reported-by: Damian Minkov <damencho@jitsi.org>
Fixes: aa441d743c ("[bosh] Use ConnectionConfiguration.getHostString() in BOSHConfiguration")
This commit is contained in:
Florian Schmaus 2022-05-26 19:52:20 +02:00
parent c9af6576c0
commit 8ebe453363
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}