* 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>
13 lines
367 B
TypeScript
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};
|