fix(rn) enable reactions by default

This commit is contained in:
Saúl Ibarra Corretgé 2021-08-25 15:07:24 +02:00 committed by Saúl Ibarra Corretgé
parent 7966c8f88f
commit 248865ad3f
2 changed files with 7 additions and 7 deletions

View File

@ -154,6 +154,12 @@ export const PIP_ENABLED = 'pip.enabled';
*/ */
export const RAISE_HAND_ENABLED = 'raise-hand.enabled'; export const RAISE_HAND_ENABLED = 'raise-hand.enabled';
/**
* Flag indicating if the reactions feature should be enabled.
* Default: enabled (true).
*/
export const REACTIONS_ENABLED = 'reactions.enabled';
/** /**
* Flag indicating if recording should be enabled. * Flag indicating if recording should be enabled.
* Default: auto-detected. * Default: auto-detected.
@ -220,9 +226,3 @@ export const VIDEO_SHARE_BUTTON_ENABLED = 'video-share.enabled';
* Default: disabled (false). * Default: disabled (false).
*/ */
export const WELCOME_PAGE_ENABLED = 'welcomepage.enabled'; export const WELCOME_PAGE_ENABLED = 'welcomepage.enabled';
/**
* Flag indicating if the reactions feature should be enabled.
* Default: disabled (false).
*/
export const REACTIONS_ENABLED = 'reactions.enabled';

View File

@ -205,7 +205,7 @@ function _mapStateToProps(state) {
_bottomSheetStyles: ColorSchemeRegistry.get(state, 'BottomSheet'), _bottomSheetStyles: ColorSchemeRegistry.get(state, 'BottomSheet'),
_isOpen: isDialogOpen(state, OverflowMenu_), _isOpen: isDialogOpen(state, OverflowMenu_),
_width: state['features/base/responsive-ui'].clientWidth, _width: state['features/base/responsive-ui'].clientWidth,
_reactionsEnabled: getFeatureFlag(state, REACTIONS_ENABLED, false) _reactionsEnabled: getFeatureFlag(state, REACTIONS_ENABLED, true)
}; };
} }