diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-11-07 21:07:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 21:07:01 +0100 |
commit | ac219dd1f6d660d3728c5881c4eb3b672fea432e (patch) | |
tree | fd2f30f2cb28a964442cc7b10d8ad8729bd659d2 /app/models | |
parent | c493c967d67058a305006a09de66a1e08d877680 (diff) | |
parent | 2bc22be66cf09ed19eb7fb23b08324882a73b2b9 (diff) |
Merge pull request #1903 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/account_alias.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/account_alias.rb b/app/models/account_alias.rb index b421c66e2..b7267d632 100644 --- a/app/models/account_alias.rb +++ b/app/models/account_alias.rb @@ -29,7 +29,7 @@ class AccountAlias < ApplicationRecord end def pretty_acct - username, domain = acct.split('@') + username, domain = acct.split('@', 2) domain.nil? ? username : "#{username}@#{Addressable::IDNA.to_unicode(domain)}" end |