This commit is contained in:
Lain Soykaf 2023-11-30 10:05:00 +04:00
parent 30084b7332
commit eb6be30602

View File

@ -191,6 +191,7 @@ defmodule Pleroma.Web.ActivityPub.MRF do
def config_descriptions(policies) do def config_descriptions(policies) do
Enum.reduce(policies, @mrf_config_descriptions, fn policy, acc -> Enum.reduce(policies, @mrf_config_descriptions, fn policy, acc ->
Code.ensure_loaded(policy) Code.ensure_loaded(policy)
if function_exported?(policy, :config_description, 0) do if function_exported?(policy, :config_description, 0) do
description = description =
@default_description @default_description