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(:hide_follows, :boolean, default: false)
|
||||||
field(:pinned_activities, {:array, :string}, default: [])
|
field(:pinned_activities, {:array, :string}, default: [])
|
||||||
field(:flavour, :string, default: nil)
|
field(:flavour, :string, default: nil)
|
||||||
field(:email_notifications, :map, default: %{"digest" => true})
|
field(:email_notifications, :map, default: %{"digest" => false})
|
||||||
|
|
||||||
field(:notification_settings, :map,
|
field(:notification_settings, :map,
|
||||||
default: %{"remote" => true, "local" => true, "followers" => true, "follows" => true}
|
default: %{"remote" => true, "local" => true, "followers" => true, "follows" => true}
|
||||||
|
@ -6,7 +6,7 @@ defmodule Pleroma.Repo.Migrations.AddEmailNotificationsToUserInfo do
|
|||||||
UPDATE users
|
UPDATE users
|
||||||
SET info = info || '{
|
SET info = info || '{
|
||||||
\"email_notifications\": {
|
\"email_notifications\": {
|
||||||
\"digest\": true
|
\"digest\": false
|
||||||
}
|
}
|
||||||
}'")
|
}'")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user