MastoAPI: Profile directory
[akkoma] / lib / pleroma / web / mastodon_api / views / instance_view.ex
index ec7d150a97848603303d16ecee3950bd1d3c22ac..7072d5d61b1489a88e705496ef01a3f31afe823f 100644 (file)
@@ -87,6 +87,9 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
       "pleroma_chat_messages",
       if Config.get([:instance, :show_reactions]) do
         "exposable_reactions"
+      end,
+      if Config.get([:instance, :profile_directory]) do
+        "profile_directory"
       end
     ]
     |> Enum.filter(& &1)