From 133f5b3b538263c777243900af114289c986523a Mon Sep 17 00:00:00 2001 From: David Yip Date: Wed, 6 Dec 2017 18:23:28 -0600 Subject: Apply Javascript changes in tootsuite/mastodon#5887 to glitch flavour (#239) --- .../glitch/features/account_timeline/containers/header_container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js') 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 815a1a613..9c0557f02 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', 'following', 'reblogs'])) { + if (account.getIn(['relationship', 'show_reblogs'])) { dispatch(followAccount(account.get('id'), false)); } else { dispatch(followAccount(account.get('id'), true)); -- cgit