jiti-meet/react/features/base/sounds/functions.any.js

12 lines
296 B
JavaScript
Raw Normal View History

// @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 || [];
}