Remove limit condition. (#11960)

Signed-off-by: Timo K <toger5@hotmail.de>
pull/28788/head^2
Timo 2023-11-29 20:49:33 +01:00 committed by GitHub
parent 27b138b52d
commit 0b8fdb30e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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",