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:
parent
3cc00fd2e9
commit
eb2963bc43
3 changed files with 26 additions and 0 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue