about summary refs log tree commit diff
path: root/app/views/profile/_status.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profile/_status.html.haml')
-rw-r--r--app/views/profile/_status.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profile/_status.html.haml b/app/views/profile/_status.html.haml
index 91c4fad26..44c58b84e 100644
--- a/app/views/profile/_status.html.haml
+++ b/app/views/profile/_status.html.haml
@@ -3,7 +3,7 @@
     .pre-header
       %i.fa.fa-retweet
       Shared by
-      = link_to status.account.display_name.blank? ? status.account.username : status.account.display_name, (status.account.local? ? profile_url(name: status.account.username) : status.account.url), class: 'name'
+      = link_to display_name(status.account), profile_url(status.account), class: 'name'
   .header
     = render partial: 'status_header', locals: { status: status.reblog? ? status.reblog : status }
   .content