Pipeline Ingestion: Note
[akkoma] / lib / pleroma / web / activity_pub / activity_pub.ex
index efbf92c70c2539a479784a8091bf799fc8a2084e..b74af3f3b5f57267a4376c06566a20aca9d0fcd5 100644 (file)
@@ -88,7 +88,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
 
   defp increase_replies_count_if_reply(_create_data), do: :noop
 
-  @object_types ~w[ChatMessage Question Answer Audio Video Event Article]
+  @object_types ~w[ChatMessage Question Answer Audio Video Event Article Note]
   @impl true
   def persist(%{"type" => type} = object, meta) when type in @object_types do
     with {:ok, object} <- Object.create(object) do