diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index e60f1e4f2..0f811d408 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -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})