Files
jitsi-meet/react/features/presence-status/functions.js
luz paz d3680bbebd fix(misc) follow-up typos
Found via `codespell -q 3 -S ./lang`
2021-03-22 10:41:41 +01:00

13 lines
284 B
JavaScript

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