commit: eb6be30602f95cf86aef465229dacbdcb92c3c58
parent 30084b7332e4a5985d866d94328fba1bc08475ec
Author: Lain Soykaf <lain@lain.com>
Date: Thu, 30 Nov 2023 10:05:00 +0400
Linting
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/pleroma/web/activity_pub/mrf.ex b/lib/pleroma/web/activity_pub/mrf.ex
@@ -191,6 +191,7 @@ defmodule Pleroma.Web.ActivityPub.MRF do
def config_descriptions(policies) do
Enum.reduce(policies, @mrf_config_descriptions, fn policy, acc ->
Code.ensure_loaded(policy)
+
if function_exported?(policy, :config_description, 0) do
description =
@default_description