mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 02:05:12 +00:00
fix format
This commit is contained in:
parent
aab86698a5
commit
1445dc25d4
|
@ -310,7 +310,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
||||||
def delete(%Object{data: %{"id" => id, "actor" => actor}} = object, local \\ true) do
|
def delete(%Object{data: %{"id" => id, "actor" => actor}} = object, local \\ true) do
|
||||||
user = User.get_cached_by_ap_id(actor)
|
user = User.get_cached_by_ap_id(actor)
|
||||||
|
|
||||||
to = object.data["to"] || [] ++ object.data["cc"] ||
|
to =
|
||||||
|
object.data["to"] || [] ++ object.data["cc"] ||
|
||||||
[] ++ [user.follower_address, "https://www.w3.org/ns/activitystreams#Public"]
|
[] ++ [user.follower_address, "https://www.w3.org/ns/activitystreams#Public"]
|
||||||
|
|
||||||
data = %{
|
data = %{
|
||||||
|
|
Loading…
Reference in a new issue