From 87f4aea52ade76313530071db77bb3b441a08416 Mon Sep 17 00:00:00 2001 From: ThibG Date: Thu, 18 Jul 2019 00:48:26 +0200 Subject: [PATCH] Fix typo in StatusPolicy (#11344) --- app/policies/status_policy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/policies/status_policy.rb b/app/policies/status_policy.rb index 118b79f3ed4..3d4e50d3719 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?