about summary refs log tree commit diff
path: root/app/controllers/account_follow_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/account_follow_controller.rb')
-rw-r--r--app/controllers/account_follow_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/account_follow_controller.rb b/app/controllers/account_follow_controller.rb
index 185a355f8..33394074d 100644
--- a/app/controllers/account_follow_controller.rb
+++ b/app/controllers/account_follow_controller.rb
@@ -6,7 +6,7 @@ class AccountFollowController < ApplicationController
   before_action :authenticate_user!
 
   def create
-    FollowService.new.call(current_user.account, @account.acct)
+    FollowService.new.call(current_user.account, @account, with_rate_limit: true)
     redirect_to account_path(@account)
   end
 end