diff --git a/app/javascript/mastodon/components/account_action_bar.js b/app/javascript/mastodon/components/account_action_bar.js
index 462c3f34f..18da65797 100644
--- a/app/javascript/mastodon/components/account_action_bar.js
+++ b/app/javascript/mastodon/components/account_action_bar.js
@@ -68,10 +68,10 @@ class AccountActionBar extends ImmutablePureComponent {
const subscribing_home = account.getIn(['relationship', 'subscribing', '-1'], new Map).size > 0;
const requested = account.getIn(['relationship', 'requested']);
- if (!account.get('moved') || subscribing) {
+ if (show_subscribe_button_on_timeline && (!account.get('moved') || subscribing)) {
subscribing_buttons = ;
}
- if (!account.get('moved') || following) {
+ if (show_follow_button_on_timeline && (!account.get('moved') || following)) {
if (requested) {
following_buttons = ;
} else {