Updated StatusPolicy private? to include ALL hidden status types
• Updated: - StatusPolicy private? to include ALL hidden status types
This commit is contained in:
parent
3da162bf85
commit
33d8f571cd
|
@ -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?
|
||||||
|
|
Loading…
Reference in New Issue