瀏覽代碼

[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 年之前
父節點
當前提交
c7c6249ad7
共有 1 個檔案被更改,包括 8 行新增1 行删除
  1. 8
    1
      react/features/base/connection/actions.native.js

+ 8
- 1
react/features/base/connection/actions.native.js 查看文件

28
                 connectionOptions.token,
28
                 connectionOptions.token,
29
                 {
29
                 {
30
                     ...connectionOptions,
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
         connection.addEventListener(
41
         connection.addEventListener(

Loading…
取消
儲存