Commit 735cdfb8 authored by kaniini's avatar kaniini
Browse files

user: add User.html_filter_policy()

parent 8ae9424e
......@@ -669,6 +669,12 @@ def delete(%User{} = user) do
def html_filter_policy(%User{info: %{"no_rich_text" => true}}) do
def html_filter_policy(_), do: nil
def get_or_fetch_by_ap_id(ap_id) do
user = get_by_ap_id(ap_id)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment