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

This commit is contained in:
Yamagishi Kazutoshi 2017-12-07 11:37:31 +09:00 committed by Eugen Rochko
parent 9302369aa5
commit 432761f375

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