Project

General

Profile

Defect #21742 » mail_handler.rb.patch

Pavel Rosický, 2016-01-17 18:15

View differences:

mail_handler.rb (working copy)
email.attachments.each do |attachment|
next unless accept_attachment?(attachment)
obj.attachments << Attachment.create(:container => obj,
:file => attachment.decoded,
:file => attachment.body.decoded,
:filename => attachment.filename,
:author => user,
:content_type => attachment.mime_type)
(1-1/5)