mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-19 06:20:25 +00:00
remove everything decline related
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user