Merge pull request #5544 from tsiegleauq/firefox-80-state-issues
Fix Firefox indexedDB state change issue
This commit is contained in:
commit
392c32fd92
@ -315,10 +315,7 @@ export class JitsiComponent extends BaseViewComponent implements OnInit, OnDestr
|
|||||||
await this.configsLoaded;
|
await this.configsLoaded;
|
||||||
|
|
||||||
this.subscriptions.push(
|
this.subscriptions.push(
|
||||||
this.storageMap
|
this.storageMap.watch(this.CONFERENCE_STATE_STORAGE_KEY).subscribe((confState: ConferenceState) => {
|
||||||
.watch(this.CONFERENCE_STATE_STORAGE_KEY)
|
|
||||||
.pipe(distinctUntilChanged())
|
|
||||||
.subscribe((confState: ConferenceState) => {
|
|
||||||
if (confState in ConferenceState) {
|
if (confState in ConferenceState) {
|
||||||
if (this.enableJitsi && (!this.videoStreamUrl || !this.canSeeLiveStream)) {
|
if (this.enableJitsi && (!this.videoStreamUrl || !this.canSeeLiveStream)) {
|
||||||
this.currentState = ConferenceState.jitsi;
|
this.currentState = ConferenceState.jitsi;
|
||||||
|
Loading…
Reference in New Issue
Block a user