aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/incoming_message.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb
index 2e697140c..3606c39c2 100644
--- a/app/models/incoming_message.rb
+++ b/app/models/incoming_message.rb
@@ -521,8 +521,7 @@ class IncomingMessage < ActiveRecord::Base
attachment = foi_attachments.find_or_create_by_hexdigest(hexdigest)
attachment.update_attributes(:filename => filename,
:content_type => content_type,
- :body => content,
- :display_size => "0K")
+ :body => content)
attachment.save!
attachments << attachment
end