Runtime configured router
[akkoma] / lib / pleroma / web / activity_pub / utils.ex
index d6ac2dd8c294c0af345500a061aca89ec2f8c3cb..3362d9325728f9ef9f81f8b5dbb8f017af7ab5d5 100644 (file)
@@ -175,7 +175,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 ["Article", "Note", "Video"] do
+      when is_map(object_data) and type in ["Article", "Note", "Video", "Page"] do
     with {:ok, _} <- Object.create(object_data) do
       :ok
     end