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 df636e03c8
commit 6bb4fb008a

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