From 451733961b6499edafbbb6bae206671e564b31b8 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 10 Oct 2016 18:23:08 +0200 Subject: Show media of reblogged statuses in public html view --- app/views/stream_entries/_status.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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 -- cgit