From 804d30939f52b6fdbb70f97a386a6c0f19cf87e2 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 3 Feb 2020 18:44:54 +0100 Subject: Fix punycode being rendered instead of unicode in some places (#13030) --- app/helpers/accounts_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/helpers') 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 -- cgit