about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-18 00:48:26 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-07-18 00:48:26 +0200
commit87f4aea52ade76313530071db77bb3b441a08416 (patch)
treea3eb4f0ad63128e045a0ad3eee97f1b25914b7c7
parent7e2b6da57f7689757a50fa261c480445b1846703 (diff)
Fix typo in StatusPolicy (#11344)
-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?