Files
jitsi-meet/react/features/base/sounds/functions.any.js
Horatiu Muresan 9a16733950 feat(config) Add config for disabled sound id's
- unify naming for sound id values
2021-09-09 17:18:26 +03:00

12 lines
296 B
JavaScript

// @flow
/**
* Selector for retrieving the disabled sounds array.
*
* @param {Object} state - The Redux state.
* @returns {Array<string>} - The disabled sound id's array.
*/
export function getDisabledSounds(state: Object) {
return state['features/base/config'].disabledSounds || [];
}