]> cat aescling's git repositories - mastodon.git/commitdiff
Fix hide reblogs (regression from #5887) (#5909)
authorYamagishi Kazutoshi <ykzts@desire.sh>
Thu, 7 Dec 2017 02:37:31 +0000 (11:37 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 7 Dec 2017 02:37:31 +0000 (03:37 +0100)
app/javascript/mastodon/features/account_timeline/containers/header_container.js

index 7756100322fa5f6b8dd087570cc9f7c358365d42..b5e0e9a3fdee97d5c1a3386bf662323fe823f8c4 100644 (file)
@@ -68,7 +68,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
   },
 
   onReblogToggle (account) {
-    if (account.getIn(['relationship', 'show_reblogs'])) {
+    if (account.getIn(['relationship', 'showing_reblogs'])) {
       dispatch(followAccount(account.get('id'), false));
     } else {
       dispatch(followAccount(account.get('id'), true));