From c1c73b0f02a8c1e6ee6e4fec4b567a2a0e0b29a4 Mon Sep 17 00:00:00 2001 From: Timo K Date: Thu, 11 Dec 2025 15:04:07 +0100 Subject: [PATCH] lint --- sdk/main.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/sdk/main.ts b/sdk/main.ts index 1dfbbcbf..d2683277 100644 --- a/sdk/main.ts +++ b/sdk/main.ts @@ -32,7 +32,6 @@ import { type CallMembership, MatrixRTCSession, MatrixRTCSessionEvent, - SlotDescription, } from "matrix-js-sdk/lib/matrixrtc"; import { type Room as LivekitRoom, @@ -98,10 +97,13 @@ export async function createMatrixRTCSdk( const mediaDevices = new MediaDevices(scope); const muteStates = new MuteStates(scope, mediaDevices, constant(true)); - const rtcSession = new MatrixRTCSession(client, room, { - application, - id, - }); + const slot = { application, id }; + const rtcSession = new MatrixRTCSession( + client, + room, + MatrixRTCSession.sessionMembershipsForSlot(room, slot), + slot, + ); const callViewModel = createCallViewModel$( scope, rtcSession,