about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-23 08:39:04 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-23 08:39:04 +0100
commit9b53c7d353477e21ce5f3c6b56beb853cc1c0ef2 (patch)
tree883fc8c4ce3a76ae76e6834fa6b7a1011f39bfbb
parentcf912e01fd74e7320eb4027c35f7744a36d2f2b8 (diff)
Fix #168 - Turn off e-mail notifications by default
-rw-r--r--app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 7e3547dff..366172e9a 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -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)