diff options
author | Anton Baklanov <antonbaklanov@gmail.com> | 2015-12-19 22:04:40 +0300 |
---|---|---|
committer | Anton Baklanov <antonbaklanov@gmail.com> | 2016-01-19 21:18:39 +0300 |
commit | 84124380e815e549f50d82051b2b546c12d9a724 (patch) | |
tree | 9d95beb6c17bb77a78cb6f25d1efeaa92d17dd8d /lib | |
parent | 340df52bc7734ff76e75aae113313259e42680fb (diff) |
Added X-GitLab-... headers to emails from CI and Email On Push services
Fixes #2098
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/email/message/repository_push.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/email/message/repository_push.rb b/lib/gitlab/email/message/repository_push.rb index a2eb7a70bd2..a05ffeb9cd2 100644 --- a/lib/gitlab/email/message/repository_push.rb +++ b/lib/gitlab/email/message/repository_push.rb @@ -9,6 +9,7 @@ module Gitlab delegate :namespace, :name_with_namespace, to: :project, prefix: :project delegate :name, to: :author, prefix: :author + delegate :username, to: :author, prefix: :author def initialize(notify, project_id, recipient, opts = {}) raise ArgumentError, 'Missing options: author_id, ref, action' unless |