More fixes for Info schema.

This commit is contained in:
lain 2018-12-01 12:46:08 +01:00
commit f18b86fd5f
8 changed files with 44 additions and 14 deletions

View file

@ -682,7 +682,7 @@ defmodule Pleroma.User do
{:ok, user}
end
def html_filter_policy(%User{info: %{"no_rich_text" => true}}) do
def html_filter_policy(%User{info: %{no_rich_text: true}}) do
Pleroma.HTML.Scrubber.TwitterText
end