diff --git a/lib/gitlab/email/handler/base_handler.rb b/lib/gitlab/email/handler/base_handler.rb index 4d74e770b91..1691fca6465 100644 --- a/lib/gitlab/email/handler/base_handler.rb +++ b/lib/gitlab/email/handler/base_handler.rb @@ -31,7 +31,8 @@ module Gitlab end def process_message - add_attachments(ReplyParser.new(mail).execute.strip) + message = ReplyParser.new(mail).execute.strip + add_attachments(message) end def add_attachments(reply)