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.js 307B

12345678910111213141516
  1. // @flow
  2. import { SET_E2EE_KEY } from './actionTypes';
  3. /**
  4. * Dispatches an action to set the E2EE key.
  5. *
  6. * @param {string|undefined} key - The new key to be used for E2EE.
  7. * @returns {Object}
  8. */
  9. export function setE2EEKey(key: ?string) {
  10. return {
  11. type: SET_E2EE_KEY,
  12. key
  13. };
  14. }