about summary refs log tree commit diff
path: root/app/views/stream_entries/_simple_status.html.haml
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2018-09-01 23:09:24 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-09-01 16:09:24 +0200
commit0e661dd2e9f0fb0b87d686bec58782881b054fd9 (patch)
treecb05389826ea42ab891a7f79b8bacdbb25219334 /app/views/stream_entries/_simple_status.html.haml
parent08721170da48babbdd6a50fd79bbda7bdbed0a02 (diff)
Fix static URL when disable autoplay (#8548)
Diffstat (limited to 'app/views/stream_entries/_simple_status.html.haml')
-rw-r--r--app/views/stream_entries/_simple_status.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/stream_entries/_simple_status.html.haml b/app/views/stream_entries/_simple_status.html.haml
index e147596f6..fc2cacf30 100644
--- a/app/views/stream_entries/_simple_status.html.haml
+++ b/app/views/stream_entries/_simple_status.html.haml
@@ -8,9 +8,9 @@
       .status__avatar
         %div
           - if current_account&.user&.setting_auto_play_gif || autoplay
-            = image_tag status.account.avatar(:original), width: 48, height: 48, alt: '', class: 'u-photo account__avatar'
+            = image_tag status.account.avatar_original_url, width: 48, height: 48, alt: '', class: 'u-photo account__avatar'
           - else
-            = image_tag status.account.avatar(:static), width: 48, height: 48, alt: '', class: 'u-photo account__avatar'
+            = image_tag status.account.avatar_static_url, width: 48, height: 48, alt: '', class: 'u-photo account__avatar'
       %span.display-name
         %bdi
           %strong.display-name__html.p-name.emojify= display_name(status.account, custom_emojify: true, autoplay: autoplay)