From d88d148d8925285cdb3783091db03cd48540f164 Mon Sep 17 00:00:00 2001 From: Eugen Date: Mon, 31 Oct 2016 16:59:36 +0100 Subject: [PATCH] Fix forgotten reducers for reblogs/favourites --- app/assets/javascripts/components/reducers/statuses.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/assets/javascripts/components/reducers/statuses.jsx b/app/assets/javascripts/components/reducers/statuses.jsx index 4a970038..a4e91be2 100644 --- a/app/assets/javascripts/components/reducers/statuses.jsx +++ b/app/assets/javascripts/components/reducers/statuses.jsx @@ -53,6 +53,10 @@ export default function statuses(state = initialState, action) { switch(action.type) { case TIMELINE_UPDATE: case STATUS_FETCH_SUCCESS: + case REBLOG_SUCCESS: + case UNREBLOG_SUCCESS: + case FAVOURITE_SUCCESS: + case UNFAVOURITE_SUCCESS: return normalizeStatus(state, Immutable.fromJS(action.status)); case TIMELINE_REFRESH_SUCCESS: case TIMELINE_EXPAND_SUCCESS: