From ef7c9a166a5d49fc6ab131485972d2ebcd651b04 Mon Sep 17 00:00:00 2001 From: Valere Date: Tue, 5 Aug 2025 15:58:46 +0200 Subject: [PATCH] fix eslint --- src/rtcSessionHelpers.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/rtcSessionHelpers.ts b/src/rtcSessionHelpers.ts index e1d97db9..75c1ff60 100644 --- a/src/rtcSessionHelpers.ts +++ b/src/rtcSessionHelpers.ts @@ -141,7 +141,10 @@ export async function getMyPreferredLivekitFoci( // This is needed to ensure that the livekit room is created before we try to join the rtc session. // This is because the livekit room creation is done by the auth service and this can be restricted to // only specific users, so we need to ensure that the room is created before we try to join it. -async function preWarmSFU(rtcSession: MatrixRTCSession, livekitAlias: string) { +async function preWarmSFU( + rtcSession: MatrixRTCSession, + livekitAlias: string, +): Promise { const client = rtcSession.room.client; // We need to make sure that the livekit room is created before sending the membership event // because other joiners might not be able to join the call if the room does not exist yet.