Fix hide reblogs in glitch frontend (#5909)

This applies 6bb4fb008a to the glitch copy
of the Mastodon frontend.
This commit is contained in:
David Yip 2017-12-06 22:35:45 -06:00
parent 9075094715
commit 82cd4a0a3c

View 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));