Fix limited_owned_parent_status?
This commit is contained in:
parent
d5cbd15a6c
commit
a70fe3d8b2
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