From: Ariadne Conill Date: Tue, 13 Aug 2019 22:39:26 +0000 (+0000) Subject: mrf_vocabulary: add describe API support X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=abfbcfdcb31a034d5512c69568bbb7607c0afdc8;p=akkoma mrf_vocabulary: add describe API support --- diff --git a/lib/pleroma/web/activity_pub/mrf/vocabulary_policy.ex b/lib/pleroma/web/activity_pub/mrf/vocabulary_policy.ex index de00b23da..74da8d57e 100644 --- a/lib/pleroma/web/activity_pub/mrf/vocabulary_policy.ex +++ b/lib/pleroma/web/activity_pub/mrf/vocabulary_policy.ex @@ -31,4 +31,6 @@ defmodule Pleroma.Web.ActivityPub.MRF.VocabularyPolicy do end def filter(message), do: {:ok, message} + + def describe, do: {:ok, %{mrf_vocabulary: Pleroma.Config.get(:mrf_vocabulary)}} end