Skip to content
Snippets Groups Projects
Commit bab49044 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Actually fix the reblogs/favs reducer issue

parent d88d148d
No related branches found
No related tags found
No related merge requests found
......@@ -53,11 +53,12 @@ export default function statuses(state = initialState, action) {
switch(action.type) {
case TIMELINE_UPDATE:
case STATUS_FETCH_SUCCESS:
return normalizeStatus(state, Immutable.fromJS(action.status));
case REBLOG_SUCCESS:
case UNREBLOG_SUCCESS:
case FAVOURITE_SUCCESS:
case UNFAVOURITE_SUCCESS:
return normalizeStatus(state, Immutable.fromJS(action.status));
return normalizeStatus(state, Immutable.fromJS(action.response));
case TIMELINE_REFRESH_SUCCESS:
case TIMELINE_EXPAND_SUCCESS:
case ACCOUNT_TIMELINE_FETCH_SUCCESS:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment