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 && {