Render a generated reported activity properly
This commit is contained in:
parent
6f047cc308
commit
717c5901f8
2 changed files with 32 additions and 2 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue