2023-04-28 05:31:11 +08:00
|
|
|
import getFromUserSettings from '/imports/ui/services/users-settings';
|
2023-05-26 05:05:50 +08:00
|
|
|
import { isReactionsEnabled } from '/imports/ui/services/features/index';
|
2021-07-16 02:43:38 +08:00
|
|
|
|
2024-03-07 01:28:18 +08:00
|
|
|
const ENABLED = window.meetingClientSettings.public.userReaction.enabled;
|
2021-07-16 02:43:38 +08:00
|
|
|
|
2023-05-26 05:05:50 +08:00
|
|
|
const isEnabled = () => isReactionsEnabled() && getFromUserSettings('enable-user-reaction', ENABLED);
|
2021-07-16 02:43:38 +08:00
|
|
|
|
|
|
|
export default {
|
|
|
|
isEnabled,
|
|
|
|
};
|