about summary refs log tree commit diff
path: root/app/helpers/accounts_helper.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-02-03 18:44:54 +0100
committerGitHub <noreply@github.com>2020-02-03 18:44:54 +0100
commitc253f5c57e3ad1929c70fb8adb00cb1bc4a2ef5f (patch)
tree11e09af8d73794101926bc146464c3ded8d5a94f /app/helpers/accounts_helper.rb
parentc31d61d7f2d576b42ea82ab01470bce7e6e5a3a7 (diff)
Fix punycode being rendered instead of unicode in some places (#13030)
Diffstat (limited to 'app/helpers/accounts_helper.rb')
-rw-r--r--app/helpers/accounts_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/accounts_helper.rb b/app/helpers/accounts_helper.rb
index e02bc2447..134217734 100644
--- a/app/helpers/accounts_helper.rb
+++ b/app/helpers/accounts_helper.rb
@@ -11,7 +11,7 @@ module AccountsHelper
 
   def acct(account)
     if account.local?
-      "@#{account.acct}@#{Rails.configuration.x.local_domain}"
+      "@#{account.acct}@#{site_hostname}"
     else
       "@#{account.pretty_acct}"
     end