Verified Commit b73e9ef6 authored by Haelwenn's avatar Haelwenn
Browse files

transmogrifier: Call strip_internal_fields on pipeline ingestion

parent 63163509
......@@ -550,6 +550,8 @@ def handle_incoming(
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}
Supports Markdown
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