bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/user-reaction/service.js
2024-04-24 15:45:28 -03:00

11 lines
357 B
JavaScript

import getFromUserSettings from '/imports/ui/services/users-settings';
import { isReactionsEnabled } from '/imports/ui/services/features/index';
const ENABLED = window.meetingClientSettings.public.userReaction.enabled;
const isEnabled = () => isReactionsEnabled() && getFromUserSettings('enable-user-reaction', ENABLED);
export default {
isEnabled,
};