diff --git a/lib/federation/activity_pub/activity_pub.ex b/lib/federation/activity_pub/activity_pub.ex index 12ab02376..6a23293db 100644 --- a/lib/federation/activity_pub/activity_pub.ex +++ b/lib/federation/activity_pub/activity_pub.ex @@ -135,7 +135,7 @@ defmodule Mobilizon.Federation.ActivityPub do %Page{total: total_events, elements: events} = if actor_id == relay_actor_id do - Events.list_public_local_events(page, limit) + Events.list_public_local_events(page, limit, :publish_at, :desc) else Events.list_public_events_for_actor(actor, page, limit) end