Commit e630e5e1 authored by rinpatch's avatar rinpatch
Browse files

Fix delete activities not federating

parent 8e6b8506
Pipeline #8962 passed with stages
in 5 minutes and 2 seconds
......@@ -309,7 +309,7 @@ def unfollow(follower, followed, activity_id \\ nil, local \\ true) do
def delete(%Object{data: %{"id" => id, "actor" => actor}} = object, local \\ true) do
user = User.get_cached_by_ap_id(actor)
to = object.data["to"] || [] ++ object.data["cc"] || []
to = (object.data["to"] || []) ++ (object.data["cc"] || [])
data = %{
"type" => "Delete",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment