blob: 57c7c9a1c17c33d4739426e42193e4c4d98d6f91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import * as types from './actionTypes';
export const fetchChatAction = items => ({
type: types.FETCH_CHAT_DATA,
items,
});
export const showChatAction = person => ({
type: types.SHOW_CHAT,
person,
});
export const hideDetailAction = {
type: types.HIDE_CHAT,
};
export const sendAction = message => ({
type: types.SEND_CHAT,
message,
});
export const deleteAction = {
type: types.DELETE_CONVERSATION,
};
|