mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-04-13 06:24:09 +00:00
a workaround?
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
parent
8cc7d7044c
commit
0e1a99851b
1 changed files with 7 additions and 1 deletions
|
@ -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})
|
||||
|
|
Loading…
Reference in a new issue