Pipeline Ingestion: Article

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-08-20 20:03:07 +02:00
commit 1b3d5956b1
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
9 changed files with 143 additions and 28 deletions

View file

@ -336,7 +336,7 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
end
def handle_object_creation(%{"type" => objtype} = object, meta)
when objtype in ~w[Audio Video Question Event] do
when objtype in ~w[Audio Video Question Event Article] do
with {:ok, object, meta} <- Pipeline.common_pipeline(object, meta) do
{:ok, object, meta}
end