Browse Source

Fix #168 - Turn off e-mail notifications by default

closed-social-glitch-2
Eugen Rochko 7 years ago
parent
commit
9b53c7d353
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/user.rb

+ 1
- 1
app/models/user.rb View File

@ -14,7 +14,7 @@ class User < ApplicationRecord
scope :admins, -> { where(admin: true) }
has_settings do |s|
s.key :notification_emails, defaults: { follow: true, reblog: true, favourite: true, mention: true }
s.key :notification_emails, defaults: { follow: false, reblog: false, favourite: false, mention: false }
end
def send_devise_notification(notification, *args)

Loading…
Cancel
Save