Skip to content
Snippets Groups Projects
Commit 7fb53a18 authored by Takeshi Umeda's avatar Takeshi Umeda
Browse files

Fix limited_owned_parent_status?

parent 04c3599a
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ class REST::StatusSerializer < ActiveModel::Serializer ...@@ -84,7 +84,7 @@ class REST::StatusSerializer < ActiveModel::Serializer
end end
def limited_owned_parent_status? 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 end
def circle_id def circle_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment