diff options
| author | Douwe Maan <douwe@selenight.nl> | 2016-06-20 19:23:10 +0200 |
|---|---|---|
| committer | Douwe Maan <douwe@selenight.nl> | 2016-07-06 18:51:00 -0400 |
| commit | 521a0a20f7b52a2fb6ea209b39824a752f2613bd (patch) | |
| tree | f4a11de3f31f43a2e8e1ba2bd73a72fed0ceff4c /lib | |
| parent | 710c4886911682742d439b15c5a7add7ca0bd898 (diff) | |
| download | gitlab-ce-521a0a20f7b52a2fb6ea209b39824a752f2613bd.tar.gz | |
Allow reply-by-email with diff notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gitlab/email/receiver.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/gitlab/email/receiver.rb b/lib/gitlab/email/receiver.rb index 97ef9851d71..1c671a7487b 100644 --- a/lib/gitlab/email/receiver.rb +++ b/lib/gitlab/email/receiver.rb @@ -104,15 +104,7 @@ module Gitlab end def create_note(reply) - Notes::CreateService.new( - sent_notification.project, - sent_notification.recipient, - note: reply, - noteable_type: sent_notification.noteable_type, - noteable_id: sent_notification.noteable_id, - commit_id: sent_notification.commit_id, - line_code: sent_notification.line_code - ).execute + sent_notification.create_note(reply) end end end |
