From: William Pitcock Date: Tue, 7 May 2019 19:30:51 +0000 (+0000) Subject: twitterapi: use order constraint to force descending order X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d64c3b604e4eb5e8dd3f51aff7d1f15024d5fa33;p=akkoma twitterapi: use order constraint to force descending order --- diff --git a/lib/pleroma/web/twitter_api/twitter_api_controller.ex b/lib/pleroma/web/twitter_api/twitter_api_controller.ex index ef7b6fe65..21e6c555a 100644 --- a/lib/pleroma/web/twitter_api/twitter_api_controller.ex +++ b/lib/pleroma/web/twitter_api/twitter_api_controller.ex @@ -182,6 +182,7 @@ defmodule Pleroma.Web.TwitterAPI.Controller 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)