2018-03-02 15:11:34 +00:00
|
|
|
import * as types from './actionsTypes';
|
|
|
|
|
2018-04-24 19:34:03 +00:00
|
|
|
export function openMentionedMessages(rid, limit) {
|
2018-03-02 15:11:34 +00:00
|
|
|
return {
|
|
|
|
type: types.MENTIONED_MESSAGES.OPEN,
|
2018-04-24 19:34:03 +00:00
|
|
|
rid,
|
|
|
|
limit
|
2018-03-02 15:11:34 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2018-04-24 19:34:03 +00:00
|
|
|
export function readyMentionedMessages() {
|
|
|
|
return {
|
|
|
|
type: types.MENTIONED_MESSAGES.READY
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-03-02 15:11:34 +00:00
|
|
|
export function closeMentionedMessages() {
|
|
|
|
return {
|
|
|
|
type: types.MENTIONED_MESSAGES.CLOSE
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
export function mentionedMessagesReceived(messages) {
|
|
|
|
return {
|
|
|
|
type: types.MENTIONED_MESSAGES.MESSAGES_RECEIVED,
|
|
|
|
messages
|
|
|
|
};
|
|
|
|
}
|