Remove limit condition. (#11960)
Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
parent
27b138b52d
commit
0b8fdb30e1
1 changed files with 1 additions and 3 deletions
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue