summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://jneen.net/ <jneen@jneen.net>2017-08-18 13:39:12 -0700
committerhttp://jneen.net/ <jneen@jneen.net>2017-08-21 15:34:24 -0700
commit7059af29800da478edbe04f4edf63fd7698909f5 (patch)
treed9eb234845739184c486fbabc411cfab3b90533f
parent4c68ff08bb2c48f85a3f3a79db14ec7402a8ba69 (diff)
downloadgitlab-ce-7059af29800da478edbe04f4edf63fd7698909f5.tar.gz
actually use the :participating notification type
-rw-r--r--app/services/notification_recipient_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notification_recipient_service.rb b/app/services/notification_recipient_service.rb
index 21c9c314a2a..c9f07c140f7 100644
--- a/app/services/notification_recipient_service.rb
+++ b/app/services/notification_recipient_service.rb
@@ -95,7 +95,7 @@ module NotificationRecipientService
def add_participants(user)
return unless target.respond_to?(:participants)
- self << [target.participants(user), :watch]
+ self << [target.participants(user), :participating]
end
# Get project/group users with CUSTOM notification level