Fix pinned posts relying on embded objects
This commit is contained in:
parent
dda4e0e2a8
commit
462028688b
@ -217,8 +217,10 @@ defmodule Pleroma.Web.CommonAPI do
|
|||||||
with %Activity{
|
with %Activity{
|
||||||
actor: ^user_ap_id,
|
actor: ^user_ap_id,
|
||||||
data: %{
|
data: %{
|
||||||
"type" => "Create",
|
"type" => "Create"
|
||||||
"object" => %{
|
},
|
||||||
|
object: %Object{
|
||||||
|
data: %{
|
||||||
"to" => object_to,
|
"to" => object_to,
|
||||||
"type" => "Note"
|
"type" => "Note"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user