aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tmail_extensions.rb
diff options
context:
space:
mode:
authorDavid Cabo <david@calibea.com>2012-01-06 18:54:37 +0100
committerDavid Cabo <david@calibea.com>2012-01-06 18:54:37 +0100
commitd4f3ca2a2f7cc68663a9ca005cf379533032d232 (patch)
treef6d2a07fd1e4f8e1091d5df765b68140db5e47ca /lib/tmail_extensions.rb
parent7ed887f0989425d9e412890800df05637b08c025 (diff)
parent766d696d5b914520b0b9367e9b9a9decab87ea5f (diff)
Merge branch 'release/0.5' of github.com:sebbacon/alaveteli into release/0.5
Diffstat (limited to 'lib/tmail_extensions.rb')
-rw-r--r--lib/tmail_extensions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tmail_extensions.rb b/lib/tmail_extensions.rb
index 6a5044cdb..f35565352 100644
--- a/lib/tmail_extensions.rb
+++ b/lib/tmail_extensions.rb
@@ -30,7 +30,7 @@ module TMail
# Monkeypatch! Return the name part of from address, or nil if there isn't one
def from_name_if_present
if self.from && self.from_addrs[0].name
- return self.from_addrs[0].name
+ return TMail::Unquoter.unquote_and_convert_to(self.from_addrs[0].name, "utf-8")
else
return nil
end