From 876638daf345ad1d0173caba36ca302f48051f9e Mon Sep 17 00:00:00 2001 From: fkwp Date: Tue, 5 May 2026 12:04:05 +0200 Subject: [PATCH] hardcode to Multi-SFU with state events for now, since the delegation of delayed events using the legacy jwt endpoint only works in that mode. --- src/state/CallViewModel/CallViewModel.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/state/CallViewModel/CallViewModel.ts b/src/state/CallViewModel/CallViewModel.ts index e298bcfd..e136b61e 100644 --- a/src/state/CallViewModel/CallViewModel.ts +++ b/src/state/CallViewModel/CallViewModel.ts @@ -409,8 +409,11 @@ export function createCallViewModel$( options.encryptionSystem, matrixRTCSession, ); - const matrixRTCMode$ = - options.matrixRTCMode$ ?? constant(MatrixRTCMode.Legacy); + // const matrixRTCMode$ = + // options.matrixRTCMode$ ?? constant(MatrixRTCMode.Legacy); + + // hardcode to Multi-SFU with state events for now, since the delegation of delayed events using the legacy jwt endpoint only works in that mode. + const matrixRTCMode$ = constant(MatrixRTCMode.Compatibility); // Each hbar seperates a block of input variables required for the CallViewModel to function. // The outputs of this block is written under the hbar.