mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-23 10:52:38 +00:00
remove everything decline related
This commit is contained in:
1 parent
7ffa18f9df
commit
46698055e6
1 file changed
+1
-3
@@ -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