about summary refs log tree commit diff
path: root/app/policies
diff options
context:
space:
mode:
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/status_policy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/status_policy.rb b/app/policies/status_policy.rb
index 118b79f3e..3d4e50d37 100644
--- a/app/policies/status_policy.rb
+++ b/app/policies/status_policy.rb
@@ -66,7 +66,7 @@ class StatusPolicy < ApplicationPolicy
   def author_blocking_domain?
     return false if current_account.nil? || current_account.domain.nil?
 
-    author.blocking_domain?(current_account.domain)
+    author.domain_blocking?(current_account.domain)
   end
 
   def blocking_author?