Remove limit condition. (#11960)
Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
+1
-3
@@ -771,10 +771,8 @@ export class ElementCall extends Call {
|
|||||||
(m) => m.application === "m.call" && m.callId === "",
|
(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;
|
const memberCount = getJoinedNonFunctionalMembers(room).length;
|
||||||
if (!isVideoRoom && existingRoomCallMembers.length == 0 && memberCount <= NOTIFY_MEMBER_LIMIT) {
|
if (!isVideoRoom && existingRoomCallMembers.length == 0) {
|
||||||
// send ringing event
|
// send ringing event
|
||||||
const content: ICallNotifyContent = {
|
const content: ICallNotifyContent = {
|
||||||
"application": "m.call",
|
"application": "m.call",
|
||||||
|
|||||||
Reference in New Issue
Block a user