forked from AkkomaGang/akkoma
Fix pinned posts relying on embded objects
This commit is contained in:
parent
dda4e0e2a8
commit
462028688b
1 changed files with 4 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue