--- app/models/mail_handler.rb.orig	2012-11-09 18:11:43.000000000 +0000
+++ app/models/mail_handler.rb	2012-11-09 17:56:48.000000000 +0000
@@ -86,7 +86,9 @@
   
   def dispatch
     headers = [email.in_reply_to, email.references].flatten.compact
-    if headers.detect {|h| h.to_s =~ MESSAGE_ID_RE}
+    if @@handler_options[:issue].has_key?(:number)
+      receive_issue_reply(@@handler_options[:issue][:number])
+    elsif headers.detect {|h| h.to_s =~ MESSAGE_ID_RE}
       klass, object_id = $1, $2.to_i
       method_name = "receive_#{klass}_reply"
       if self.class.private_instance_methods.collect(&:to_s).include?(method_name)
