fix(config): Move 'disableDetails' flag to connectionIndicators config

This commit is contained in:
Vlad Piersec 2021-11-09 09:15:19 +02:00 committed by Saúl Ibarra Corretgé
parent 17c0298e59
commit 5e4f09dd0a
2 changed files with 2 additions and 4 deletions

View File

@ -279,6 +279,7 @@ var config = {
// autoHide: true, // autoHide: true,
// autoHideTimeout: 5000, // autoHideTimeout: 5000,
// disabled: false, // disabled: false,
// disableDetails: false,
// inactiveDisabled: false // inactiveDisabled: false
// }, // },
@ -648,9 +649,6 @@ var config = {
// Enables sending participants' emails (if available) to callstats and other analytics // Enables sending participants' emails (if available) to callstats and other analytics
// enableEmailInStats: false, // enableEmailInStats: false,
// When true, disables the connection indicator popover.
// disableConnectionIndicatorDetails: false,
// Controls the percentage of automatic feedback shown to participants when callstats is enabled. // Controls the percentage of automatic feedback shown to participants when callstats is enabled.
// The default value is 100%. If set to 0, no automatic feedback will be requested // The default value is 100%. If set to 0, no automatic feedback will be requested
// feedbackPercentage: 100, // feedbackPercentage: 100,

View File

@ -365,7 +365,7 @@ export function _mapStateToProps(state: Object, ownProps: Props) {
return { return {
_connectionIndicatorInactiveDisabled: _connectionIndicatorInactiveDisabled:
Boolean(state['features/base/config'].connectionIndicators?.inactiveDisabled), Boolean(state['features/base/config'].connectionIndicators?.inactiveDisabled),
_popoverDisabled: state['features/base/config'].disableConnectionIndicatorDetails, _popoverDisabled: state['features/base/config'].connectionIndicators?.disableDetails,
_connectionStatus: participant?.connectionStatus _connectionStatus: participant?.connectionStatus
}; };
} }