Set digest emails to false by default
This commit is contained in:
parent
724311e151
commit
2359ee38b3
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ defmodule Pleroma.User.Info do
|
|||
field(:hide_follows, :boolean, default: false)
|
||||
field(:pinned_activities, {:array, :string}, default: [])
|
||||
field(:flavour, :string, default: nil)
|
||||
field(:email_notifications, :map, default: %{"digest" => true})
|
||||
field(:email_notifications, :map, default: %{"digest" => false})
|
||||
|
||||
field(:notification_settings, :map,
|
||||
default: %{"remote" => true, "local" => true, "followers" => true, "follows" => true}
|
||||
|
|
|
@ -6,7 +6,7 @@ def up do
|
|||
UPDATE users
|
||||
SET info = info || '{
|
||||
\"email_notifications\": {
|
||||
\"digest\": true
|
||||
\"digest\": false
|
||||
}
|
||||
}'")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue