Project

General

Profile

Defect #21742 » mail_handler.rb.patch

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

View differences:

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