summaryrefslogtreecommitdiff
path: root/app/models/notification_recipient.rb
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2017-08-01 11:42:46 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2017-08-03 09:07:18 -0700
commit4af2c647132bee8b2ef87d0d190936449759071c (patch)
tree51dfe3065b5d80bf4a684d4af895984189b01e73 /app/models/notification_recipient.rb
parent444c8584491ce0efe2314747326da6ab7d17490c (diff)
downloadgitlab-ce-4af2c647132bee8b2ef87d0d190936449759071c.tar.gz
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