diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-10-20 11:16:57 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-10-20 11:18:53 +0300 |
commit | a4ef4244d4b9b54246f53bba5c02746542034da5 (patch) | |
tree | 2c5ba6b5abad99c7614d9bded9bdd427bb5584cf /lib/gitlab/email | |
parent | 8608beedb634860d834a4be29f31313ebdb797c2 (diff) |
Preserve note_type and position for notes from emails
Closes #23208
Diffstat (limited to 'lib/gitlab/email')
-rw-r--r-- | lib/gitlab/email/handler/create_note_handler.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/gitlab/email/handler/create_note_handler.rb b/lib/gitlab/email/handler/create_note_handler.rb index 06dae31cc27..447c7a6a6b9 100644 --- a/lib/gitlab/email/handler/create_note_handler.rb +++ b/lib/gitlab/email/handler/create_note_handler.rb @@ -46,7 +46,9 @@ module Gitlab noteable_type: sent_notification.noteable_type, noteable_id: sent_notification.noteable_id, commit_id: sent_notification.commit_id, - line_code: sent_notification.line_code + line_code: sent_notification.line_code, + position: sent_notification.position, + type: sent_notification.note_type ).execute end end |