diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index 52e229520..a71cdd760 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -42,6 +42,6 @@ class Formatter end def mention_html(match, account) - "#{match.split('@').first}@#{account.acct}" + "#{match.split('@').first}@#{account.username}" end end