This reverts commit 074960bb0f
.
Fix #9315
pull/828/head
parent
0206d569c3
commit
87a43274f1
|
@ -86,9 +86,6 @@ module StatusThreadingConcern
|
||||||
|
|
||||||
# Order ancestors/descendants by tree path
|
# Order ancestors/descendants by tree path
|
||||||
statuses.sort_by! { |status| ids.index(status.id) }
|
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
|
end
|
||||||
|
|
||||||
def relations_map_for_account(account, account_ids, domains)
|
def relations_map_for_account(account, account_ids, domains)
|
||||||
|
|
Loading…
Reference in New Issue