Fix limited_owned_parent_status?
This commit is contained in:
parent
56f1f13683
commit
ec77641009
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def limited_owned_parent_status?
|
||||
object.limited_visibility? && owned_status? && (!object.reply? || object.thread.conversation_id != object.conversation_id)
|
||||
object.limited_visibility? && owned_status? && (!object.reply? || object.thread&.conversation_id != object.conversation_id)
|
||||
end
|
||||
|
||||
def circle_id
|
||||
|
|
Loading…
Reference in a new issue