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

This feature will be used by sip-jibri to join locked rooms.
This commit is contained in:
damencho 2021-04-07 10:03:20 -05:00 committed by Дамян Минков
parent ba41745d1e
commit c4766125bb
1 changed files with 3 additions and 1 deletions

View File

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