Skip to content
Snippets Groups Projects
Commit 269a445c authored by abcang's avatar abcang Committed by Eugen Rochko
Browse files

Fix unnecessary order (#5807)

parent 2b51b409
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,7 @@ class Status < ApplicationRecord
end
def reblogs_map(status_ids, account_id)
select('reblog_of_id').where(reblog_of_id: status_ids).where(account_id: account_id).map { |s| [s.reblog_of_id, true] }.to_h
select('reblog_of_id').where(reblog_of_id: status_ids).where(account_id: account_id).reorder(nil).map { |s| [s.reblog_of_id, true] }.to_h
end
def mutes_map(conversation_ids, account_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment