Fix Firefox indexedDB state change issue
Firefox ignores the state change of the conf state after reloading
This commit is contained in:
parent
06974b559e
commit
28878a0b12
@ -315,10 +315,7 @@ export class JitsiComponent extends BaseViewComponent implements OnInit, OnDestr
|
||||
await this.configsLoaded;
|
||||
|
||||
this.subscriptions.push(
|
||||
this.storageMap
|
||||
.watch(this.CONFERENCE_STATE_STORAGE_KEY)
|
||||
.pipe(distinctUntilChanged())
|
||||
.subscribe((confState: ConferenceState) => {
|
||||
this.storageMap.watch(this.CONFERENCE_STATE_STORAGE_KEY).subscribe((confState: ConferenceState) => {
|
||||
if (confState in ConferenceState) {
|
||||
if (this.enableJitsi && (!this.videoStreamUrl || !this.canSeeLiveStream)) {
|
||||
this.currentState = ConferenceState.jitsi;
|
||||
|
Loading…
Reference in New Issue
Block a user