Fix hide reblogs in glitch frontend (#5909)

This applies 432761f375 to the glitch copy
of the Mastodon frontend.
This commit is contained in:
David Yip 2017-12-06 22:35:45 -06:00
parent ddb61decce
commit 67d625c42d
No known key found for this signature in database
GPG key ID: 7DA0036508FCC0CC

View file

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