remove everything decline related

This commit is contained in:
Timo
2025-07-18 13:15:06 +02:00
parent 7ffa18f9df
commit 46698055e6

View File

@@ -99,9 +99,7 @@ async function makePreferredLivekitFoci(
// if (focusOtherMembers) preferredFoci.push(focusOtherMembers);
}
function getRTCNotificationType(
room: Room,
): Exclude<RTCNotificationType, "decline"> | undefined {
function getRTCNotificationType(room: Room): RTCNotificationType | undefined {
if (room.isCallRoom()) return undefined;
if (getJoinedNonFunctionalMembers(room).length === 2) return "ring";
return "notification";