You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.web.ts 398B

1234567891011121314151617
  1. import { SET_UNSAFE_ROOM_CONSENT } from './actionTypes';
  2. /**
  3. * Sets the consent of the user for joining the unsafe room.
  4. *
  5. * @param {boolean} consent - The user's consent.
  6. * @returns {{
  7. * type: SET_UNSAFE_ROOM_CONSENT,
  8. * consent: boolean
  9. * }}
  10. */
  11. export function setUnsafeRoomConsent(consent: boolean) {
  12. return {
  13. type: SET_UNSAFE_ROOM_CONSENT,
  14. consent
  15. };
  16. }