0
0
Fork 0

Add custom emojis to the emoji picker (#5052)

This commit is contained in:
Eugen Rochko 2017-09-23 05:40:28 +02:00 committed by GitHub
parent 293972f716
commit 66126f3021
8 changed files with 91 additions and 2 deletions

View file

@ -0,0 +1,13 @@
import { List as ImmutableList } from 'immutable';
import { STORE_HYDRATE } from '../actions/store';
const initialState = ImmutableList();
export default function statuses(state = initialState, action) {
switch(action.type) {
case STORE_HYDRATE:
return action.state.get('custom_emojis');
default:
return state;
}
};