mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix typo in StatusPolicy (#11344)
This commit is contained in:
parent
7e2b6da57f
commit
87f4aea52a
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user