mattermost-mobile/app/constants/calls.ts
Christopher Poile 10479d1d35
MM-42821 - Calls mobile: Default calls doesn't work on mobile (#6107)
* use call config when checking for Enable/Disable and StartCall permissions

* store config, refresh after 20 minutes

* load config on startup

* batch load calls and load config on startup/reconnect
2022-04-01 10:17:48 -04:00

13 lines
367 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
const RefreshConfigMillis = 20 * 60 * 1000; // Refresh config after 20 minutes
const RequiredServer = {
FULL_VERSION: '6.3.0',
MAJOR_VERSION: 6,
MIN_VERSION: 3,
PATCH_VERSION: 0,
};
export default {RequiredServer, RefreshConfigMillis};