diff --git a/app/javascript/mastodon/features/status/components/detailed_status.js b/app/javascript/mastodon/features/status/components/detailed_status.js
index d97190698..043a749ed 100644
--- a/app/javascript/mastodon/features/status/components/detailed_status.js
+++ b/app/javascript/mastodon/features/status/components/detailed_status.js
@@ -54,15 +54,8 @@ class DetailedStatus extends ImmutablePureComponent {
handleAccountClick = (e) => {
if (e.button === 0 && !(e.ctrlKey || e.metaKey) && this.context.router) {
- const id = e.currentTarget.getAttribute('data-id');
- const group = e.currentTarget.getAttribute('data-group') !== 'false';
-
e.preventDefault();
- if (group) {
- this.context.router.history.push(`/timelines/groups/${id}`);
- } else {
- this.context.router.history.push(`/accounts/${id}`);
- }
+ this.context.router.history.push(`/accounts/${this.props.status.getIn(['account', 'id'])}`);
}
e.stopPropagation();
@@ -128,95 +121,6 @@ class DetailedStatus extends ImmutablePureComponent {
outerStyle.height = `${this.state.height}px`;
}
- let quote = null;
- if (status.get('quote', null) !== null) {
- let quote_status = status.get('quote');
-
- let quote_media = null;
- if (quote_status.get('media_attachments').size > 0) {
-
- if (quote_status.getIn(['media_attachments', 0, 'type']) === 'audio') {
- const attachment = quote_status.getIn(['media_attachments', 0]);
-
- quote_media = (
-
- );
- } else if (quote_status.getIn(['media_attachments', 0, 'type']) === 'video') {
- const attachment = quote_status.getIn(['media_attachments', 0]);
-
- quote_media = (
-
- );
- } else {
- quote_media = (
-
- );
- }
- }
-
- if (quote_muted) {
- quote = (
-
- );
- } else {
- quote = (
-
-
-
-
-
-
-
- {quote_media}
-
- );
- }
- } else if (quote_muted) {
- quote = (
-
- );
- }
-
if (pictureInPicture.get('inUse')) {
media =
;
} else if (status.get('media_attachments').size > 0) {
@@ -335,8 +239,8 @@ class DetailedStatus extends ImmutablePureComponent {
return (