aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb')
-rw-r--r--app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb b/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
index 825ec6eabd..7910359f51 100644
--- a/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
+++ b/app/controllers/action_mailbox/ingresses/mandrill/inbound_emails_controller.rb
@@ -13,8 +13,7 @@ class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ActionMailbo
def raw_emails
events.lazy.
select { |event| event["event"] == "inbound" }.
- collect { |event| event.dig("msg", "raw_msg") }.
- collect { |message| StringIO.new message }
+ collect { |event| event.dig("msg", "raw_msg") }
end
def events