| 
				
			 | 
			
			
				
				@@ -15,6 +15,7 @@ import { 
			 | 
		
		
	
		
			
			| 
				15
			 | 
			
				15
			 | 
			
			
				
				 import { connect } from '../../../base/redux'; 
			 | 
		
		
	
		
			
			| 
				16
			 | 
			
				16
			 | 
			
			
				
				 import { AbstractButton } from '../../../base/toolbox'; 
			 | 
		
		
	
		
			
			| 
				17
			 | 
			
				17
			 | 
			
			
				
				 import type { AbstractButtonProps } from '../../../base/toolbox'; 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				18
			 | 
			
			
				
				+import { RAISE_HAND_ENABLED, getFeatureFlag } from '../../../base/flags'; 
			 | 
		
		
	
		
			
			| 
				18
			 | 
			
				19
			 | 
			
			
				
				  
			 | 
		
		
	
		
			
			| 
				19
			 | 
			
				20
			 | 
			
			
				
				 /** 
			 | 
		
		
	
		
			
			| 
				20
			 | 
			
				21
			 | 
			
			
				
				  * The type of the React {@code Component} props of {@link RaiseHandButton}. 
			 | 
		
		
	
	
		
			
			| 
				
			 | 
			
			
				
				@@ -96,17 +97,19 @@ class RaiseHandButton extends AbstractButton<Props, *> { 
			 | 
		
		
	
		
			
			| 
				96
			 | 
			
				97
			 | 
			
			
				
				  * Maps part of the Redux state to the props of this component. 
			 | 
		
		
	
		
			
			| 
				97
			 | 
			
				98
			 | 
			
			
				
				  * 
			 | 
		
		
	
		
			
			| 
				98
			 | 
			
				99
			 | 
			
			
				
				  * @param {Object} state - The Redux state. 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				100
			 | 
			
			
				
				+ * @param {Object} ownProps - The properties explicitly passed to the component instance. 
			 | 
		
		
	
		
			
			| 
				99
			 | 
			
				101
			 | 
			
			
				
				  * @private 
			 | 
		
		
	
		
			
			| 
				100
			 | 
			
				
			 | 
			
			
				
				- * @returns {{ 
			 | 
		
		
	
		
			
			| 
				101
			 | 
			
				
			 | 
			
			
				
				- *     _raisedHand: boolean 
			 | 
		
		
	
		
			
			| 
				102
			 | 
			
				
			 | 
			
			
				
				- * }} 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				102
			 | 
			
			
				
				+ * @returns {Props} 
			 | 
		
		
	
		
			
			| 
				103
			 | 
			
				103
			 | 
			
			
				
				  */ 
			 | 
		
		
	
		
			
			| 
				104
			 | 
			
				
			 | 
			
			
				
				-function _mapStateToProps(state): Object { 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				104
			 | 
			
			
				
				+function _mapStateToProps(state, ownProps): Object { 
			 | 
		
		
	
		
			
			| 
				105
			 | 
			
				105
			 | 
			
			
				
				     const _localParticipant = getLocalParticipant(state); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				106
			 | 
			
			
				
				+    const enabled = getFeatureFlag(state, RAISE_HAND_ENABLED, true); 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				107
			 | 
			
			
				
				+    const { visible = enabled } = ownProps; 
			 | 
		
		
	
		
			
			| 
				106
			 | 
			
				108
			 | 
			
			
				
				  
			 | 
		
		
	
		
			
			| 
				107
			 | 
			
				109
			 | 
			
			
				
				     return { 
			 | 
		
		
	
		
			
			| 
				108
			 | 
			
				110
			 | 
			
			
				
				         _localParticipant, 
			 | 
		
		
	
		
			
			| 
				109
			 | 
			
				
			 | 
			
			
				
				-        _raisedHand: _localParticipant.raisedHand 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				111
			 | 
			
			
				
				+        _raisedHand: _localParticipant.raisedHand, 
			 | 
		
		
	
		
			
			| 
				
			 | 
			
				112
			 | 
			
			
				
				+        visible 
			 | 
		
		
	
		
			
			| 
				110
			 | 
			
				113
			 | 
			
			
				
				     }; 
			 | 
		
		
	
		
			
			| 
				111
			 | 
			
				114
			 | 
			
			
				
				 } 
			 | 
		
		
	
		
			
			| 
				112
			 | 
			
				115
			 | 
			
			
				
				  
			 |