mirror of
https://github.com/vector-im/element-call.git
synced 2026-09-01 21:25:18 +00:00
Fix crash?
This commit is contained in:
@@ -465,9 +465,10 @@ class Connection {
|
|||||||
this.stopped = true;
|
this.stopped = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public readonly participants$ = this.scope.behavior(connectedParticipantsObserver(
|
public readonly participants$ = this.scope.behavior(
|
||||||
this.livekitRoom,
|
connectedParticipantsObserver(this.livekitRoom),
|
||||||
), []);
|
[],
|
||||||
|
);
|
||||||
|
|
||||||
public constructor(
|
public constructor(
|
||||||
private readonly livekitRoom: LivekitRoom,
|
private readonly livekitRoom: LivekitRoom,
|
||||||
@@ -480,7 +481,7 @@ class Connection {
|
|||||||
|
|
||||||
export class CallViewModel extends ViewModel {
|
export class CallViewModel extends ViewModel {
|
||||||
private readonly e2eeOptions = getE2eeOptions(
|
private readonly e2eeOptions = getE2eeOptions(
|
||||||
this.encryptionSystem,
|
this.options.encryptionSystem,
|
||||||
this.matrixRTCSession,
|
this.matrixRTCSession,
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -1691,7 +1692,6 @@ export class CallViewModel extends ViewModel {
|
|||||||
private readonly reactionsSubject$: Observable<
|
private readonly reactionsSubject$: Observable<
|
||||||
Record<string, ReactionInfo>
|
Record<string, ReactionInfo>
|
||||||
>,
|
>,
|
||||||
private readonly encryptionSystem: EncryptionSystem,
|
|
||||||
) {
|
) {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
@@ -1708,7 +1708,7 @@ export class CallViewModel extends ViewModel {
|
|||||||
void enterRTCSession(
|
void enterRTCSession(
|
||||||
this.matrixRTCSession,
|
this.matrixRTCSession,
|
||||||
localFocus,
|
localFocus,
|
||||||
this.encryptionSystem.kind !== E2eeType.PER_PARTICIPANT,
|
this.options.encryptionSystem.kind !== E2eeType.PER_PARTICIPANT,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user