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.native.js 389B

12345678910111213141516171819202122
  1. // @flow
  2. import { OPEN_CHAT } from './actionTypes';
  3. export * from './actions.any';
  4. /**
  5. * Displays the chat panel.
  6. *
  7. * @param {Object} participant - The recipient for the private chat.
  8. *
  9. * @returns {{
  10. * participant: Participant,
  11. * type: OPEN_CHAT
  12. * }}
  13. */
  14. export function openChat(participant: Object) {
  15. return {
  16. participant,
  17. type: OPEN_CHAT
  18. };
  19. }