2020-01-14 09:41:16 +00:00
|
|
|
// @flow
|
|
|
|
|
|
|
|
declare var interfaceConfig: Object;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Tells wether presence status should be displayed.
|
|
|
|
*
|
|
|
|
* @returns {boolean}
|
|
|
|
*/
|
|
|
|
export function presenceStatusDisabled() {
|
2020-02-04 14:26:36 +00:00
|
|
|
return Boolean(typeof interfaceConfig !== 'undefined' && interfaceConfig?.DISABLE_PRESENCE_STATUS);
|
2020-01-14 09:41:16 +00:00
|
|
|
}
|