diff options
author | lain <lain@soykaf.club> | 2018-12-02 11:20:38 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-12-02 11:20:38 +0100 |
commit | 91065e1968e97d299aa708b938cbef18c2cd1271 (patch) | |
tree | d6ff62f6ef391daeb9268e6c2e2619025587a72c /lib | |
parent | 371d96b1da85960dafea9665b8bc32ba553b1555 (diff) | |
download | pleroma-91065e1968e97d299aa708b938cbef18c2cd1271.tar.gz |
Fix background updating / handling.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/user/info.ex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/pleroma/user/info.ex b/lib/pleroma/user/info.ex index 94d403bf7..49b2f0eda 100644 --- a/lib/pleroma/user/info.ex +++ b/lib/pleroma/user/info.ex @@ -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 |