Don't ring large groups
This commit is contained in:
parent
1f45bce0a2
commit
3e18a8a337
13 changed files with 144 additions and 44 deletions
|
@ -3,7 +3,6 @@
|
|||
|
||||
import { isNumber } from 'lodash';
|
||||
import { parseIntOrThrow } from '../util/parseIntOrThrow';
|
||||
import { parseIntWithFallback } from '../util/parseIntWithFallback';
|
||||
import { getValue, ConfigKeyType } from '../RemoteConfig';
|
||||
|
||||
function makeGetter(configKey: ConfigKeyType): (fallback?: number) => number {
|
||||
|
@ -29,6 +28,3 @@ export const getGroupSizeRecommendedLimit = makeGetter(
|
|||
export const getGroupSizeHardLimit = makeGetter(
|
||||
'global.groupsv2.groupSizeHardLimit'
|
||||
);
|
||||
|
||||
export const getMaxGroupCallRingSize = (): number =>
|
||||
parseIntWithFallback(getValue('global.calling.maxGroupCallRingSize'), 16);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue