Updated StatusPolicy private? to include ALL hidden status types

• Updated:
- StatusPolicy private? to include ALL hidden status types
This commit is contained in:
mgabdev 2021-01-15 15:13:04 -05:00
parent 3da162bf85
commit 33d8f571cd
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class StatusPolicy < ApplicationPolicy
end end
def private? def private?
record.private_visibility? record.hidden?
end end
def mention_exists? def mention_exists?