Skip to content
Browse files

use the full From field to avoid empty " wrote:" lines when people se…

…nd as a plain user@address
  • Loading branch information...
1 parent 421518d commit abd0900d4a42b1f2ac1795f2d3ac44cf59f9fda7 @yeled committed May 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 notmuch-ruby.vim
View
2 notmuch-ruby.vim
@@ -483,7 +483,7 @@ ruby << EOF
lines << ''
body_lines = []
- body_lines << "%s wrote:" % Mail::Address.new(orig[:from].value).name
+ body_lines << "%s wrote:" % Mail::Address.new(orig[:from].value)
part = orig.find_first_text
part.convert.each_line do |l|
body_lines << "> %s" % l.chomp

1 comment on commit abd0900

@felipec

Would this break existing behavior?

Please sign in to comment.
Something went wrong with that request. Please try again.