diff options
author | beatrix <beatrix.bitrot@gmail.com> | 2017-12-06 19:59:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-06 19:59:15 -0500 |
commit | de5620995175b7c1c0fc458bd78c12d8c5860aad (patch) | |
tree | 5cc51ad8d5b972aa4a1c1f6cb52451f08e8911e4 /app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js | |
parent | c63e6c9a2ca064a8ff65c8558f38abe9ab037620 (diff) | |
parent | 133f5b3b538263c777243900af114289c986523a (diff) |
Merge pull request #240 from glitch-soc/copy-api-changes
Apply Javascript changes in tootsuite/mastodon#5887 to glitch flavour (#239)
Diffstat (limited to 'app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js')
-rw-r--r-- | app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |