about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-02-03 18:44:54 +0100
committermultiple creatures <dev@multiple-creature.party>2020-02-21 02:48:14 -0600
commit804d30939f52b6fdbb70f97a386a6c0f19cf87e2 (patch)
treed3d9e656b176fc5c28436b9867f378953daf76c4 /app/helpers
parentb2cb81e54fc06361e8597f862e09d4606e30f3dc (diff)
Fix punycode being rendered instead of unicode in some places (#13030)
Diffstat (limited to 'app/helpers')
-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 1a5f22e2a..5b6ab88e3 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