jiti-meet/react/features/security/actions.js

17 lines
369 B
JavaScript
Raw Normal View History

// @flow
import { toggleDialog } from '../base/dialog';
2020-05-20 10:57:03 +00:00
import { SecurityDialog } from './components/security-dialog';
/**
* Action that triggers toggle of the security options dialog.
*
* @returns {Function}
*/
export function toggleSecurityDialog() {
return function(dispatch: (Object) => Object) {
dispatch(toggleDialog(SecurityDialog));
};
}