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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2017-08-01 21:42:46 +0300
committerhttp://jneen.net/ <jneen@jneen.net>2017-08-03 19:07:18 +0300
commit4af2c647132bee8b2ef87d0d190936449759071c (patch)
tree51dfe3065b5d80bf4a684d4af895984189b01e73 /app/models/notification_recipient.rb
parent444c8584491ce0efe2314747326da6ab7d17490c (diff)
fix comment
Diffstat (limited to 'app/models/notification_recipient.rb')
-rw-r--r--app/models/notification_recipient.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/notification_recipient.rb b/app/models/notification_recipient.rb
index a14254178e1..6a8287c88b8 100644
--- a/app/models/notification_recipient.rb
+++ b/app/models/notification_recipient.rb
@@ -27,7 +27,8 @@ class NotificationRecipient
def notification_level
# custom is treated the same as watch if it's enabled - otherwise it's
- # as :disabled.
+ # set to :custom, meaning to send exactly when our type is :participating
+ # or :mention.
@notification_level ||=
case raw_notification_level
when :custom