Fix background updating / handling.

This commit is contained in:
lain 2018-12-02 11:20:38 +01:00
commit 91065e1968
3 changed files with 10 additions and 3 deletions

View file

@ -4,7 +4,7 @@ defmodule Pleroma.User.Info do
embedded_schema do
field(:banner, :map, default: %{})
field(:background, :string, default: nil)
field(:background, :map, default: %{})
field(:source_data, :map, default: %{})
field(:note_count, :integer, default: 0)
field(:follower_count, :integer, default: 0)
@ -134,7 +134,8 @@ defmodule Pleroma.User.Info do
:locked,
:no_rich_text,
:default_scope,
:banner
:banner,
:background
])
end