Fix typo in StatusPolicy (#11344)

lolsob-rspec
ThibG 2019-07-18 00:48:26 +02:00 committed by Eugen Rochko
parent 9015b19e09
commit 9bea975f52
1 changed files with 1 additions and 1 deletions

View File

@ -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?