mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-02 19:49:23 +00:00
remove everything decline related
This commit is contained in:
@@ -99,9 +99,7 @@ async function makePreferredLivekitFoci(
|
|||||||
// if (focusOtherMembers) preferredFoci.push(focusOtherMembers);
|
// if (focusOtherMembers) preferredFoci.push(focusOtherMembers);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRTCNotificationType(
|
function getRTCNotificationType(room: Room): RTCNotificationType | undefined {
|
||||||
room: Room,
|
|
||||||
): Exclude<RTCNotificationType, "decline"> | undefined {
|
|
||||||
if (room.isCallRoom()) return undefined;
|
if (room.isCallRoom()) return undefined;
|
||||||
if (getJoinedNonFunctionalMembers(room).length === 2) return "ring";
|
if (getJoinedNonFunctionalMembers(room).length === 2) return "ring";
|
||||||
return "notification";
|
return "notification";
|
||||||
|
|||||||
Reference in New Issue
Block a user