a workaround?

Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
mkljczk 2025-03-12 12:31:26 +01:00
parent 8cc7d7044c
commit 0e1a99851b

View file

@ -715,7 +715,13 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
replies_collection = %{
"id" => object_id <> "/replies",
"type" => "OrderedCollection",
"first" => object_id <> "/replies?page=true"
"first" => %{
"type" => "OrderedCollectionPage",
"partOf" => object_id <> "/replies",
"next" => object_id <> "/replies?only_other_accounts=true&page=true",
"orderedItems" => []
}
# object_id <> "/replies?page=true"
}
Map.merge(object, %{"replies" => replies_collection})