Temporarily disable inefficient filter in statuses controller.

This commit is contained in:
Fosco Marotto 2021-01-23 13:13:05 -05:00
parent 6c2a60b378
commit 41790e4894

View File

@ -86,7 +86,7 @@ module StatusThreadingConcern
domains = statuses.map(&:account_domain).compact.uniq domains = statuses.map(&:account_domain).compact.uniq
relations = relations_map_for_account(account, account_ids, domains) relations = relations_map_for_account(account, account_ids, domains)
statuses.reject! { |status| filter_from_context?(status, account, relations) } # statuses.reject! { |status| filter_from_context?(status, account, relations) }
# 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) }