Fix crash?

This commit is contained in:
Robin
2025-08-27 14:36:13 +02:00
committed by Timo K
parent 35319dd6b5
commit d9b6302bf7

View File

@@ -504,7 +504,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,
); );
@@ -1808,7 +1808,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();
@@ -1825,7 +1824,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,
); );
}); });