diff --git a/app/javascript/mastodon/components/status.jsx b/app/javascript/mastodon/components/status.jsx index a8291e71b..3a1bfb52d 100644 --- a/app/javascript/mastodon/components/status.jsx +++ b/app/javascript/mastodon/components/status.jsx @@ -699,7 +699,7 @@ class Status extends ImmutablePureComponent { onCollapsedToggle={this.handleCollapsedToggle} /> - {media} + {media(status)} {quote(status, this.props.muted, quoteMuted, this.handleQuoteClick, this.handleExpandedQuoteToggle, identity, media, this.context.router, contextType)} diff --git a/app/javascript/mastodon/features/status/components/detailed_status.jsx b/app/javascript/mastodon/features/status/components/detailed_status.jsx index a15f6ef74..10b4b221f 100644 --- a/app/javascript/mastodon/features/status/components/detailed_status.jsx +++ b/app/javascript/mastodon/features/status/components/detailed_status.jsx @@ -343,7 +343,7 @@ class DetailedStatus extends ImmutablePureComponent { onTranslate={this.handleTranslate} /> - {media} + {media(status, false)} {quote(status, false, quoteMuted, this.handleQuoteClick, this.handleExpandedQuoteToggle, identity, media, this.context.router)}