snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
11
react/features/base/sounds/functions.any.ts
Normal file
11
react/features/base/sounds/functions.any.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { IReduxState } from '../../app/types';
|
||||
|
||||
/**
|
||||
* 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: IReduxState) {
|
||||
return state['features/base/config'].disabledSounds || [];
|
||||
}
|
||||
Reference in New Issue
Block a user