Follow requests send e-mail notifications, but are excluded from notifications API
Better initial state for unlisted/nsfw toggles
This commit is contained in:
parent
3689c119f0
commit
2146ac91a0
11 changed files with 48 additions and 12 deletions
|
@ -15,7 +15,7 @@ class User < ApplicationRecord
|
|||
scope :admins, -> { where(admin: true) }
|
||||
|
||||
has_settings do |s|
|
||||
s.key :notification_emails, defaults: { follow: false, reblog: false, favourite: false, mention: false }
|
||||
s.key :notification_emails, defaults: { follow: false, reblog: false, favourite: false, mention: false, follow_request: true }
|
||||
s.key :interactions, defaults: { must_be_follower: false, must_be_following: false }
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue