0
0
Fork 0

Change e-mail notifications to only be sent when recipient is offline (#17984)

* Change e-mail notifications to only be sent when recipient is offline

Change the default for follow and mention notifications back on

* Add preference to always send e-mail notifications

* Change wording
This commit is contained in:
Eugen Rochko 2022-04-08 18:03:31 +02:00 committed by GitHub
parent fd9a9b07c2
commit 8e20e16cf0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 58 additions and 25 deletions

View file

@ -130,7 +130,7 @@ class User < ApplicationRecord
:reduce_motion, :system_font_ui, :noindex, :theme, :display_media,
:expand_spoilers, :default_language, :aggregate_reblogs, :show_application,
:advanced_layout, :use_blurhash, :use_pending_items, :trends, :crop_images,
:disable_swiping,
:disable_swiping, :always_send_emails,
to: :settings, prefix: :setting, allow_nil: false
attr_reader :invite_code