jiti-meet/react/features/presence-status/functions.js

13 lines
283 B
JavaScript
Raw Normal View History

// @flow
declare var interfaceConfig: Object;
/**
* Tells wether presence status should be displayed.
*
* @returns {boolean}
*/
export function presenceStatusDisabled() {
return Boolean(typeof interfaceConfig !== 'undefined' && interfaceConfig?.DISABLE_PRESENCE_STATUS);
}