mrf_vocabulary: add describe API support

develop
Ariadne Conill 2019-08-13 22:39:26 +00:00
parent 369d9cf03b
commit abfbcfdcb3
1 changed files with 2 additions and 0 deletions

View File

@ -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