Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJonne Haß <me@jhass.eu>2014-09-20 06:05:57 +0400
committerJonne Haß <me@jhass.eu>2014-09-20 06:05:57 +0400
commit5133458d30e0f9e8cc131f1a9613745beeaf5f75 (patch)
tree19491f26ca68b8dbf66f91cbb0110c719402f150 /app
parent2d2217b677710e65c1808f26fa8747eb22867ce6 (diff)
Start converting IDN emails
Diffstat (limited to 'app')
-rw-r--r--app/mailers/notification_mailers/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mailers/notification_mailers/base.rb b/app/mailers/notification_mailers/base.rb
index ec2950bfb..086228b06 100644
--- a/app/mailers/notification_mailers/base.rb
+++ b/app/mailers/notification_mailers/base.rb
@@ -23,7 +23,7 @@ module NotificationMailers
end
def name_and_address(name, email)
- address = Mail::Address.new email
+ address = Mail::Address.new Addressable::IDNA.to_ascii(email)
address.display_name = name
address.format
end