Apply Javascript changes in tootsuite/mastodon#5887 to glitch flavour (#239)

This commit is contained in:
David Yip
2017-12-06 18:23:28 -06:00
parent 061211a1e3
commit 133f5b3b53
3 changed files with 5 additions and 6 deletions

View File

@@ -68,7 +68,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
},
onReblogToggle (account) {
if (account.getIn(['relationship', 'following', 'reblogs'])) {
if (account.getIn(['relationship', 'show_reblogs'])) {
dispatch(followAccount(account.get('id'), false));
} else {
dispatch(followAccount(account.get('id'), true));