[RN] Fix room name case sensitivity
It turns out that it is not enough to give lib-jitsi-meet the room name in lower case. BOSH also needs the room name in lower case.
This commit is contained in:
parent
5319227a8f
commit
c7c6249ad7
|
@ -28,7 +28,14 @@ export function connect() {
|
||||||
connectionOptions.token,
|
connectionOptions.token,
|
||||||
{
|
{
|
||||||
...connectionOptions,
|
...connectionOptions,
|
||||||
bosh: connectionOptions.bosh + (room ? `?room=${room}` : '')
|
bosh:
|
||||||
|
connectionOptions.bosh
|
||||||
|
|
||||||
|
// XXX The Jitsi Meet deployments require the room
|
||||||
|
// argument to be in lower case at the time of this
|
||||||
|
// writing but, unfortunately, they do not ignore
|
||||||
|
// case themselves.
|
||||||
|
+ (room ? `?room=${room.toLowerCase()}` : '')
|
||||||
});
|
});
|
||||||
|
|
||||||
connection.addEventListener(
|
connection.addEventListener(
|
||||||
|
|
Loading…
Reference in New Issue