Add limited post icon
This commit is contained in:
parent
d6257e1469
commit
ec16074def
9 changed files with 18 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue