Commit d64c3b60 authored by kaniini's avatar kaniini
Browse files

twitterapi: use order constraint to force descending order

parent 6020ff3f
Pipeline #11497 passed with stages
in 4 minutes and 1 second
......@@ -182,6 +182,7 @@ def dm_timeline(%{assigns: %{user: user}} = conn, params) do
|> Map.put("blocking_user", user)
|> Map.put("user", user)
|> Map.put(:visibility, "direct")
|> Map.put(:order, :desc)
activities =
ActivityPub.fetch_activities_query([user.ap_id], params)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment