Set digest emails to false by default
This commit is contained in:
parent
724311e151
commit
2359ee38b3
@ -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 @@ defmodule Pleroma.Repo.Migrations.AddEmailNotificationsToUserInfo do
|
||||
UPDATE users
|
||||
SET info = info || '{
|
||||
\"email_notifications\": {
|
||||
\"digest\": true
|
||||
\"digest\": false
|
||||
}
|
||||
}'")
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user