From 8db2e8ac419492cebe8b739ddbf65909eb28dc47 Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 22 Sep 2026 22:28:52 +0200 Subject: [PATCH] Remove multi-SFU check which is always true Compatibility and Matrix 2.0 are the only MatrixRTC modes now. --- src/state/CallViewModel/localMember/LocalMember.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/state/CallViewModel/localMember/LocalMember.ts b/src/state/CallViewModel/localMember/LocalMember.ts index 9622ace9e..27a631d98 100644 --- a/src/state/CallViewModel/localMember/LocalMember.ts +++ b/src/state/CallViewModel/localMember/LocalMember.ts @@ -987,9 +987,6 @@ export function enterRTCSession( matrix_rtc_session: sessionConfig, } = Config.get(); const retryInterval = sessionConfig.network_error_retry_ms; - const multiSFU = - matrixRTCMode === MatrixRTCMode.Compatibility || - matrixRTCMode === MatrixRTCMode.Matrix_2_0; // For backwards compatibility with Element Call versions that do not do Matrix 2.0, // we add the livekit alias to the transport. @@ -1016,8 +1013,8 @@ export function enterRTCSession( rtcSession.joinRTCSession( ownMembershipIdentity, - multiSFU ? [] : [backwardCompatibleTransport], - multiSFU ? backwardCompatibleTransport : undefined, + [], + backwardCompatibleTransport, { notificationType, callIntent,