Put group calling behind a remote feature flag

This commit is contained in:
Evan Hahn 2020-12-07 14:35:14 -06:00 committed by GitHub
parent 23fed9ce63
commit a2f285d243
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 51 additions and 14 deletions

7
ts/util/version.ts Normal file
View file

@ -0,0 +1,7 @@
// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import * as semver from 'semver';
export const isBeta = (version: string): boolean =>
semver.parse(version)?.prerelease[0] === 'beta';