Kaynağa Gözat

[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.
master
Lyubomir Marinov 8 yıl önce
ebeveyn
işleme
c7c6249ad7

+ 8
- 1
react/features/base/connection/actions.native.js Dosyayı Görüntüle

@@ -28,7 +28,14 @@ export function connect() {
28 28
                 connectionOptions.token,
29 29
                 {
30 30
                     ...connectionOptions,
31
-                    bosh: connectionOptions.bosh + (room ? `?room=${room}` : '')
31
+                    bosh:
32
+                        connectionOptions.bosh
33
+
34
+                            // XXX The Jitsi Meet deployments require the room
35
+                            // argument to be in lower case at the time of this
36
+                            // writing but, unfortunately, they do not ignore
37
+                            // case themselves.
38
+                            + (room ? `?room=${room.toLowerCase()}` : '')
32 39
                 });
33 40
 
34 41
         connection.addEventListener(

Loading…
İptal
Kaydet