23a20c20f8
Adds `#build_notification_recipients` to `NotificationRecipientService` that returns the `NotificationRecipient` objects in order to be able to access the new attribute `reason`. This new attribute is used in the different notifier methods in order to add the reason as a header: `X-GitLab-NotificationReason`. Only the reason with the most priority gets sent. |
||
---|---|---|
.. | ||
emails | ||
abuse_report_mailer.rb | ||
base_mailer.rb | ||
devise_mailer.rb | ||
email_rejection_mailer.rb | ||
notify.rb | ||
repository_check_mailer.rb |