Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2016-10-12 20:07:36 +0300
committerPawel Chojnacki <pawel@chojnacki.ws>2017-01-13 18:11:46 +0300
commitc3a940000ea20d6682313640e1a0fda9ff68dbdf (patch)
tree9fe13c3c1e33be8a97793d1ba93f0729185da5f9 /lib/gitlab/email/handler/create_issue_handler.rb
parent4b43126d08972c201551fbd1fe42e85847d5e03f (diff)
Handles unsubscribe from notifications via email
- allows unsubscription processing of email in format "reply+%{key}+unsubscribe@acme.com" (example) - if config.address includes %{key} and replies are enabled every unsubscriable message will include mailto: link in its List-Unsubscribe header
Diffstat (limited to 'lib/gitlab/email/handler/create_issue_handler.rb')
-rw-r--r--lib/gitlab/email/handler/create_issue_handler.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/email/handler/create_issue_handler.rb b/lib/gitlab/email/handler/create_issue_handler.rb
index 9f90a3ec2b2..127fae159d5 100644
--- a/lib/gitlab/email/handler/create_issue_handler.rb
+++ b/lib/gitlab/email/handler/create_issue_handler.rb
@@ -5,6 +5,7 @@ module Gitlab
module Email
module Handler
class CreateIssueHandler < BaseHandler
+ include ReplyProcessing
attr_reader :project_path, :incoming_email_token
def initialize(mail, mail_key)