mattermost-mobile/app/constants/calls.ts
Mattermost Build e16e89bb00
MM-42821 - Calls mobile: Default calls doesn't work on mobile (#6107) (#6120)
* 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

(cherry picked from commit 10479d1d35)

Co-authored-by: Christopher Poile <cpoile@gmail.com>
2022-04-01 10:29:51 -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};