]> git.cworth.org Git - sup/commitdiff
trivial: display attachment sizes
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 13 Apr 2009 14:53:35 +0000 (07:53 -0700)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Mon, 13 Apr 2009 14:53:35 +0000 (07:53 -0700)
lib/sup/message-chunks.rb

index b3726923a85e31fdc7993c7efa5287035751a8d4..63fe184c4b79ac1e27c0a2957d66efe73887b2a7 100644 (file)
@@ -108,7 +108,7 @@ EOS
       if expandable?
         "Attachment: #{filename} (#{lines.length} lines)"
       else
-        "Attachment: #{filename} (#{content_type})"
+        "Attachment: #{filename} (#{content_type}; #{@raw_content.size.to_human_size})"
       end
     end