Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Matt <lukas@zauberstuhl.de>2014-03-21 18:48:48 +0400
committerLukas Matt <lukas@zauberstuhl.de>2014-05-15 15:23:43 +0400
commit26d0c81dae88370b5efd1d10a813eb157eb580ab (patch)
treef0029c34843e30d268574f01b5fe495ad1e1d9c7 /app/models/user_preference.rb
parent719edcd1a7cb79827935fced10a922a037af3658 (diff)
Added the ability to disable report-email-notification
Podmin can see a extra checkbox in Settings > Account for disabling report-email-notification
Diffstat (limited to 'app/models/user_preference.rb')
-rw-r--r--app/models/user_preference.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/user_preference.rb b/app/models/user_preference.rb
index cf73c7d58..354a48400 100644
--- a/app/models/user_preference.rb
+++ b/app/models/user_preference.rb
@@ -4,7 +4,8 @@ class UserPreference < ActiveRecord::Base
validate :must_be_valid_email_type
VALID_EMAIL_TYPES =
- ["mentioned",
+ ["someone_reported",
+ "mentioned",
"comment_on_post",
"private_message",
"started_sharing",