about summary refs log tree commit diff
path: root/app/assets/javascripts/components/reducers/accounts.jsx
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-03 19:52:09 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-03 19:52:09 +0100
commit0405ef977a3ba37b3da472733e59be6db7bd7b99 (patch)
tree47e478e5c06d2add85574de78e58515b8ccf9083 /app/assets/javascripts/components/reducers/accounts.jsx
parent159203a7bcda8512a2b89d91c727446d8f51360b (diff)
Aria-labels actually didn't work in React, so removing. Fixing some bugs
Diffstat (limited to 'app/assets/javascripts/components/reducers/accounts.jsx')
-rw-r--r--app/assets/javascripts/components/reducers/accounts.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/reducers/accounts.jsx b/app/assets/javascripts/components/reducers/accounts.jsx
index bc2144752..f01144786 100644
--- a/app/assets/javascripts/components/reducers/accounts.jsx
+++ b/app/assets/javascripts/components/reducers/accounts.jsx
@@ -71,11 +71,12 @@ export default function accounts(state = initialState, action) {
     case ACCOUNT_TIMELINE_EXPAND_SUCCESS:
     case CONTEXT_FETCH_SUCCESS:
       return normalizeAccountsFromStatuses(state, action.statuses);
-    case TIMELINE_UPDATE:
     case REBLOG_SUCCESS:
     case FAVOURITE_SUCCESS:
     case UNREBLOG_SUCCESS:
     case UNFAVOURITE_SUCCESS:
+      return normalizeAccountFromStatus(state, action.response);
+    case TIMELINE_UPDATE:
     case STATUS_FETCH_SUCCESS:
       return normalizeAccountFromStatus(state, action.status);
     default: