Fix typo in StatusPolicy (#11344)

master
ThibG 6 years ago committed by Eugen Rochko
parent 7e2b6da57f
commit 87f4aea52a
  1. 2
      app/policies/status_policy.rb

@ -66,7 +66,7 @@ class StatusPolicy < ApplicationPolicy
def author_blocking_domain? def author_blocking_domain?
return false if current_account.nil? || current_account.domain.nil? return false if current_account.nil? || current_account.domain.nil?
author.blocking_domain?(current_account.domain) author.domain_blocking?(current_account.domain)
end end
def blocking_author? def blocking_author?

Loading…
Cancel
Save