From: David Yip Date: Thu, 7 Dec 2017 04:35:45 +0000 (-0600) Subject: Fix hide reblogs in glitch frontend (#5909) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=67d625c42d35dcc01d3e9bde910e5ac88b63b979;p=mastodon.git Fix hide reblogs in glitch frontend (#5909) This applies 432761f37574b4e4159283f595e6c094b7bde449 to the glitch copy of the Mastodon frontend. --- diff --git a/app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js b/app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js index 9c0557f02..37ff445b2 100644 --- a/app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js +++ b/app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js @@ -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));