diff options
author | Sean McGivern <sean@gitlab.com> | 2018-03-30 15:25:46 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-03-30 15:25:46 +0300 |
commit | 5ab75649f3ea00b64cb63e7e5283100c6b70cfb5 (patch) | |
tree | c301d3390f5f665640d8f8e931662b28c4242a30 /app/models/notification_setting.rb | |
parent | 6412c4c54a7a824e108899a34b1ecec5cbdcec4b (diff) |
Only send issue due emails to participants and custom subscribers
Diffstat (limited to 'app/models/notification_setting.rb')
-rw-r--r-- | app/models/notification_setting.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/notification_setting.rb b/app/models/notification_setting.rb index f6d9b0215fc..9195408551f 100644 --- a/app/models/notification_setting.rb +++ b/app/models/notification_setting.rb @@ -47,7 +47,8 @@ class NotificationSetting < ActiveRecord::Base ].freeze EXCLUDED_WATCHER_EVENTS = [ - :push_to_merge_request + :push_to_merge_request, + :issue_due ].push(*EXCLUDED_PARTICIPATING_EVENTS).freeze def self.find_or_create_for(source) |