diff --git a/app/policies/status_policy.rb b/app/policies/status_policy.rb index 118b79f3ed482f803ce2af3272cdc9cf05a06984..3d4e50d3719730cc65540f58180a103fc3a284f9 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?