mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
Format
This commit is contained in:
parent
89c5de9096
commit
c8a16f334d
1 changed files with 3 additions and 0 deletions
|
@ -353,6 +353,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
|||
"to" => [followed.ap_id],
|
||||
"object" => follow_activity.data
|
||||
}
|
||||
|
||||
if activity_id, do: Map.put(data, "id", activity_id), else: data
|
||||
end
|
||||
|
||||
|
@ -381,6 +382,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
|||
"to" => [blocked.ap_id],
|
||||
"object" => blocked.ap_id
|
||||
}
|
||||
|
||||
if activity_id, do: Map.put(data, "id", activity_id), else: data
|
||||
end
|
||||
|
||||
|
@ -391,6 +393,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
|||
"to" => [blocked.ap_id],
|
||||
"object" => block_activity.data
|
||||
}
|
||||
|
||||
if activity_id, do: Map.put(data, "id", activity_id), else: data
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue