Pipeline Ingestion: Event

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-08-20 18:41:42 +02:00
commit 36c125a071
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
9 changed files with 172 additions and 25 deletions

View file

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