fix lint errors

This commit is contained in:
Valere
2025-10-01 17:24:19 +02:00
parent e8bf817f88
commit dfaa6a33f4
2 changed files with 115 additions and 104 deletions

View File

@@ -177,10 +177,10 @@ export class Connection {
scope.behavior<ConnectionState>(
connectionStateObserver(this.livekitRoom)
).subscribe((connectionState) => {
const current = this.focusedConnectionState$.value;
const current = this._focusedConnectionState$.value;
// Only update the state if we are already connected to the LiveKit room.
if (current.state === 'ConnectedToLkRoom') {
this.focusedConnectionState$.next({ state: 'ConnectedToLkRoom', connectionState, focus: current.focus });
this._focusedConnectionState$.next({ state: 'ConnectedToLkRoom', connectionState, focus: current.focus });
}
});