From f5f41342e35b3f7707e0664c438f20f4f18d276a Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Thu, 25 Sep 2025 08:33:32 +0100 Subject: [PATCH] fix intent --- src/rtcSessionHelpers.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/rtcSessionHelpers.ts b/src/rtcSessionHelpers.ts index 3c9b759d..f02759b8 100644 --- a/src/rtcSessionHelpers.ts +++ b/src/rtcSessionHelpers.ts @@ -120,15 +120,13 @@ export async function enterRTCSession( const { features, matrix_rtc_session: matrixRtcSessionConfig } = Config.get(); const useDeviceSessionMemberEvents = features?.feature_use_device_session_member_events; - const { sendNotificationType: notificationType, mediaHint } = getUrlParams(); + const { sendNotificationType: notificationType, callIntent } = getUrlParams(); rtcSession.joinRoomSession( await makePreferredLivekitFoci(rtcSession, livekitAlias), makeActiveFocus(), { - notification: notificationType && { - type: notificationType, - hint: mediaHint, - }, + notificationType, + callIntent, useNewMembershipManager, manageMediaKeys: encryptMedia, ...(useDeviceSessionMemberEvents !== undefined && {