diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-11-23 21:58:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-23 21:58:01 +0100 |
commit | 87a43274f12bcdde3475b2c187cc203a42cb738d (patch) | |
tree | 2432ad9092d7cf011e79e4bdf4c2e8361237c2c8 /app/models | |
parent | 0206d569c31e0b1483dfbbeabcad2748e468f105 (diff) |
Revert "Sort self-replies to the top of the thread (#9296)" (#9335)
This reverts commit 074960bb0fa59664c0ae1a35ef80301f5033700d. Fix #9315
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/concerns/status_threading_concern.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/models/concerns/status_threading_concern.rb b/app/models/concerns/status_threading_concern.rb index 234cfd5d2..fa441469c 100644 --- a/app/models/concerns/status_threading_concern.rb +++ b/app/models/concerns/status_threading_concern.rb @@ -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) |