Fix pinned posts relying on embded objects

This commit is contained in:
rinpatch 2019-04-17 12:34:19 +03:00
parent dda4e0e2a8
commit 462028688b

View File

@ -217,8 +217,10 @@ defmodule Pleroma.Web.CommonAPI do
with %Activity{
actor: ^user_ap_id,
data: %{
"type" => "Create",
"object" => %{
"type" => "Create"
},
object: %Object{
data: %{
"to" => object_to,
"type" => "Note"
}