Render a generated reported activity properly

This commit is contained in:
tusooa 2022-11-09 23:02:27 -05:00
commit 717c5901f8
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 32 additions and 2 deletions

View file

@ -36,7 +36,9 @@ defmodule Pleroma.Web.AdminAPI.Report do
"to" => [],
"cc" => [],
"object" => act["id"],
"published" => act["published"]
"published" => act["published"],
"id" => act["id"],
"context" => "pleroma:fake"
},
recipients: [user.ap_id],
object: %Object{
@ -46,7 +48,9 @@ defmodule Pleroma.Web.AdminAPI.Report do
"content" => act["content"],
"published" => act["published"],
"to" => [],
"cc" => []
"cc" => [],
"id" => act["id"],
"context" => "pleroma:fake"
}
}
}