From 33ad2e5423cc477f346dd461d12ca93ffa786639 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 10 Sep 2016 09:57:41 +0200 Subject: [PATCH] Shorten mentions to only usernames --- app/lib/formatter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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