mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
transmogrifier: Call strip_internal_fields on pipeline ingestion
This commit is contained in:
parent
6316350918
commit
b73e9ef686
1 changed files with 2 additions and 0 deletions
|
@ -550,6 +550,8 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
|||
_options
|
||||
)
|
||||
when objtype in ~w{Question Answer ChatMessage Audio Event} do
|
||||
data = Map.put(data, "object", strip_internal_fields(data["object"]))
|
||||
|
||||
with {:ok, %User{}} <- ObjectValidator.fetch_actor(data),
|
||||
{:ok, activity, _} <- Pipeline.common_pipeline(data, local: false) do
|
||||
{:ok, activity}
|
||||
|
|
Loading…
Reference in a new issue