From c7c6249ad77aab056d21f5e7d177ad5b33a6063b Mon Sep 17 00:00:00 2001 From: Lyubomir Marinov Date: Sat, 28 Jan 2017 17:26:09 -0600 Subject: [PATCH] [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. --- react/features/base/connection/actions.native.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/react/features/base/connection/actions.native.js b/react/features/base/connection/actions.native.js index 2ad1d6686..329b2e6d4 100644 --- a/react/features/base/connection/actions.native.js +++ b/react/features/base/connection/actions.native.js @@ -28,7 +28,14 @@ export function connect() { connectionOptions.token, { ...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(