diff --git a/src/rtcSessionHelpers.ts b/src/rtcSessionHelpers.ts index 6406da05..9cc38cc4 100644 --- a/src/rtcSessionHelpers.ts +++ b/src/rtcSessionHelpers.ts @@ -99,9 +99,7 @@ async function makePreferredLivekitFoci( // if (focusOtherMembers) preferredFoci.push(focusOtherMembers); } -function getRTCNotificationType( - room: Room, -): Exclude | undefined { +function getRTCNotificationType(room: Room): RTCNotificationType | undefined { if (room.isCallRoom()) return undefined; if (getJoinedNonFunctionalMembers(room).length === 2) return "ring"; return "notification";