瀏覽代碼

feat: Adds an option to preset in localstorage key for locked rooms.

This feature will be used by sip-jibri to join locked rooms.
master
damencho 4 年之前
父節點
當前提交
c4766125bb
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. 3
    1
      conference.js

+ 3
- 1
conference.js 查看文件

@@ -1,5 +1,6 @@
1 1
 /* global APP, JitsiMeetJS, config, interfaceConfig */
2 2
 
3
+import { jitsiLocalStorage } from '@jitsi/js-utils';
3 4
 import EventEmitter from 'events';
4 5
 import Logger from 'jitsi-meet-logger';
5 6
 
@@ -387,7 +388,8 @@ class ConferenceConnector {
387 388
      *
388 389
      */
389 390
     connect() {
390
-        room.join();
391
+        // the local storage overrides here and in connection.js can be used by jibri
392
+        room.join(jitsiLocalStorage.getItem('xmpp_conference_password_override'));
391 393
     }
392 394
 }
393 395
 

Loading…
取消
儲存