]> cat aescling's git repositories - mastodon.git/commitdiff
Fix hide reblogs in glitch frontend (#5909)
authorDavid Yip <yipdw@member.fsf.org>
Thu, 7 Dec 2017 04:35:45 +0000 (22:35 -0600)
committerDavid Yip <yipdw@member.fsf.org>
Thu, 7 Dec 2017 04:35:45 +0000 (22:35 -0600)
This applies 432761f37574b4e4159283f595e6c094b7bde449 to the glitch copy
of the Mastodon frontend.

app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js

index 9c0557f0281904400a3b69a1f91069001452ce9a..37ff445b2084c6546ae519855b912dff88984668 100644 (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));