Commit 7fb53a18 authored by Takeshi Umeda's avatar Takeshi Umeda
Browse files

Fix limited_owned_parent_status?

parent 04c3599a
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment