From 3bc4445747392097804a13aa06ff3460212f15f3 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Wed, 27 May 2020 16:11:46 -0400 Subject: [PATCH] Remove link to remote accounts in statuses MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Remove: - link to remote accounts in statuses --- app/lib/formatter.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lib/formatter.rb b/app/lib/formatter.rb index b4355e97..70dae1e0 100644 --- a/app/lib/formatter.rb +++ b/app/lib/formatter.rb @@ -317,6 +317,7 @@ class Formatter end def mention_html(account) + return "@#{encode(account.acct)}" unless account.local? "@#{encode(account.acct)}" end