Browse Source

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

This reverts commit 074960bb0f.

Fix #9315
pull/4/head
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
87a43274f1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      app/models/concerns/status_threading_concern.rb

+ 0
- 3
app/models/concerns/status_threading_concern.rb View File

@ -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