From 0b8fdb30e1aba80129c45e5ecde4c8abe8842ba2 Mon Sep 17 00:00:00 2001 From: Timo <16718859+toger5@users.noreply.github.com> Date: Wed, 29 Nov 2023 20:49:33 +0100 Subject: [PATCH] Remove limit condition. (#11960) Signed-off-by: Timo K --- src/models/Call.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/models/Call.ts b/src/models/Call.ts index 24de62334c9..004782120e1 100644 --- a/src/models/Call.ts +++ b/src/models/Call.ts @@ -771,10 +771,8 @@ export class ElementCall extends Call { (m) => m.application === "m.call" && m.callId === "", ); - // We only want to ring in rooms that have less or equal to NOTIFY_MEMBER_LIMIT participants. For really large rooms we don't want to ring. - const NOTIFY_MEMBER_LIMIT = 15; const memberCount = getJoinedNonFunctionalMembers(room).length; - if (!isVideoRoom && existingRoomCallMembers.length == 0 && memberCount <= NOTIFY_MEMBER_LIMIT) { + if (!isVideoRoom && existingRoomCallMembers.length == 0) { // send ringing event const content: ICallNotifyContent = { "application": "m.call",