Add limited post icon

This commit is contained in:
KMY 2023-08-12 22:04:22 +09:00
parent d6257e1469
commit ec16074def
9 changed files with 18 additions and 6 deletions

View file

@ -66,11 +66,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
end
def visibility_ex
if object.limited_visibility?
'private'
else
object.visibility
end
object.visibility
end
def searchability