mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
fix(activitypub): make relay outbox events ordered by desc publication date
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
31411bfc03
commit
e73fd9b370
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue