Merge branch 'develop' into 'patch-2'
[akkoma] / lib / pleroma / web / activity_pub / utils.ex
index 64329b710080362bbf6b4c30e8903e8efda00ff0..8b41a3becbb26cad7af645d8bd6480316bd2a8c0 100644 (file)
@@ -128,7 +128,7 @@ defmodule Pleroma.Web.ActivityPub.Utils do
   Inserts a full object if it is contained in an activity.
   """
   def insert_full_object(%{"object" => %{"type" => type} = object_data})
-      when is_map(object_data) and type in ["Note"] do
+      when is_map(object_data) and type in ["Article", "Note"] do
     with {:ok, _} <- Object.create(object_data) do
       :ok
     end