forked from mirrors/akkoma
mrf_vocabulary: add describe API support
This commit is contained in:
parent
369d9cf03b
commit
abfbcfdcb3
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue