From 33d8f571cdab06cdc50f2b5dfa5955c463fb4360 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Fri, 15 Jan 2021 15:13:04 -0500 Subject: [PATCH] Updated StatusPolicy private? to include ALL hidden status types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - StatusPolicy private? to include ALL hidden status types --- 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 afc052c9..038a2f81 100644 --- a/app/policies/status_policy.rb +++ b/app/policies/status_policy.rb @@ -50,7 +50,7 @@ class StatusPolicy < ApplicationPolicy end def private? - record.private_visibility? + record.hidden? end def mention_exists?