Skip to content
Snippets Groups Projects
Commit 46202868 authored by rinpatch's avatar rinpatch :speech_balloon:
Browse files

Fix pinned posts relying on embded objects

parent dda4e0e2
No related branches found
No related tags found
No related merge requests found
......@@ -217,8 +217,10 @@ def pin(id_or_ap_id, %{ap_id: user_ap_id} = user) do
with %Activity{
actor: ^user_ap_id,
data: %{
"type" => "Create",
"object" => %{
"type" => "Create"
},
object: %Object{
data: %{
"to" => object_to,
"type" => "Note"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment