cleanup an rename compatibility mode

This commit is contained in:
Timo K
2026-01-07 16:08:20 +01:00
parent d814f60f23
commit 75fca3108a
6 changed files with 13 additions and 7 deletions

View File

@@ -429,7 +429,11 @@ export function createCallViewModel$(
};
const useOldJwtEndpoint$ = scope.behavior(
matrixRTCMode$.pipe(map((v) => v !== MatrixRTCMode.Matrix_2_0)),
matrixRTCMode$.pipe(
map(
(v) => v === MatrixRTCMode.Legacy || v === MatrixRTCMode.Compatibility,
),
),
);
const localTransport$ = createLocalTransport$({