mail_handler.rb.patch

Pavel Rosick√Ĺ, 2016-01-17 18:15

Download (639 Bytes)

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)