User: Add settings store to Info, AccountView

This is to provide a generic frontend settings storage mechanism for all kinds
of frontends.
This commit is contained in:
lain 2019-05-31 14:27:15 +02:00
commit eb2963bc43
3 changed files with 26 additions and 0 deletions

View file

@ -45,6 +45,7 @@ defmodule Pleroma.User.Info do
field(:flavour, :string, default: nil)
field(:mascot, :map, default: nil)
field(:emoji, {:array, :map}, default: [])
field(:pleroma_settings_store, :map, default: %{})
field(:notification_settings, :map,
default: %{"remote" => true, "local" => true, "followers" => true, "follows" => true}