about summary refs log tree commit diff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2016-10-31 16:59:36 +0100
committerGitHub <noreply@github.com>2016-10-31 16:59:36 +0100
commitd88d148d8925285cdb3783091db03cd48540f164 (patch)
tree945bd60ed2941c32d03b5244fe86443547b8f619 /app/assets/javascripts
parent3692051561999c56e41ca62a56145fcae66379c6 (diff)
Fix forgotten reducers for reblogs/favourites
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/components/reducers/statuses.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/components/reducers/statuses.jsx b/app/assets/javascripts/components/reducers/statuses.jsx
index 4a970038f..a4e91be2a 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: