Fix hide reblogs (regression from #5887) (#5909)

master
Yamagishi Kazutoshi 7 years ago committed by Eugen Rochko
parent 9302369aa5
commit 432761f375
  1. 2
      app/javascript/mastodon/features/account_timeline/containers/header_container.js

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

Loading…
Cancel
Save