Revert "Sort self-replies to the top of the thread (#9296)" (#9335)

This reverts commit 76a0c28687.

Fix #9315
th-downstream
Eugen Rochko 6 years ago committed by GitHub
parent fd8841ce92
commit e49abb3b4f

@ -86,9 +86,6 @@ module StatusThreadingConcern
# Order ancestors/descendants by tree path
statuses.sort_by! { |status| ids.index(status.id) }
# Bring self-replies to the top
statuses.sort_by! { |status| status.in_reply_to_account_id == status.account_id ? -1 : 0 }
end
def relations_map_for_account(account, account_ids, domains)

Loading…
Cancel
Save