Fix hide reblogs in glitch frontend (#5909)

This applies 432761f375 to the glitch copy
of the Mastodon frontend.
pull/252/head
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
1 changed files with 1 additions and 1 deletions

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