about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/stream_entries/_status.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stream_entries/_status.html.haml b/app/views/stream_entries/_status.html.haml
index 4e74fa131..fc21e6c45 100644
--- a/app/views/stream_entries/_status.html.haml
+++ b/app/views/stream_entries/_status.html.haml
@@ -32,7 +32,7 @@
       .content= Formatter.instance.format(proper_status(status))
 
       %ul.media-attachments
-        - status.media_attachments.each do |media|
+        - (status.reblog? ? status.reblog : status).media_attachments.each do |media|
           %li.transparent-background= link_to '', media.file.url, style: "background-image: url(#{media.file.url(:small)})", target: '_blank'
 
 - if include_threads