Set digest emails to false by default

This commit is contained in:
Roman Chvanikov 2019-04-21 16:36:25 +07:00
parent 724311e151
commit 2359ee38b3
2 changed files with 2 additions and 2 deletions

View file

@ -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}

View file

@ -6,7 +6,7 @@ defmodule Pleroma.Repo.Migrations.AddEmailNotificationsToUserInfo do
UPDATE users
SET info = info || '{
\"email_notifications\": {
\"digest\": true
\"digest\": false
}
}'")
end