mrf_vocabulary: add describe API support

This commit is contained in:
Ariadne Conill 2019-08-13 22:39:26 +00:00
parent b3afc0bb32
commit c7a3a15c3d

View file

@ -31,4 +31,6 @@ def filter(%{"type" => message_type} = message) do
end
def filter(message), do: {:ok, message}
def describe, do: {:ok, %{mrf_vocabulary: Pleroma.Config.get(:mrf_vocabulary)}}
end