From ddcf4eb09098adcd0f0c2db653d1c72fbd3346d1 Mon Sep 17 00:00:00 2001 From: KMY Date: Mon, 2 Oct 2023 12:20:16 +0900 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E7=94=A8=E3=82=92BT=E3=81=97=E3=81=9F?= =?UTF-8?q?=E3=81=A8=E3=81=8D=E3=80=81=E3=82=A2=E3=82=AB=E3=82=A6=E3=83=B3?= =?UTF-8?q?=E3=83=88=E6=83=85=E5=A0=B1=E3=81=8C=E6=9B=B8=E3=81=8D=E6=8F=9B?= =?UTF-8?q?=E3=82=8F=E3=82=8B=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/mastodon/selectors/index.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/app/javascript/mastodon/selectors/index.js b/app/javascript/mastodon/selectors/index.js index aaf22a0588..ed7543b218 100644 --- a/app/javascript/mastodon/selectors/index.js +++ b/app/javascript/mastodon/selectors/index.js @@ -40,11 +40,10 @@ export const makeGetStatus = () => { (state, { id }) => state.getIn(['statuses', state.getIn(['statuses', id, 'quote_id'])]), (state, { id }) => state.getIn(['accounts', state.getIn(['statuses', id, 'account'])]), (state, { id }) => state.getIn(['accounts', state.getIn(['statuses', state.getIn(['statuses', id, 'reblog']), 'account'])]), - (state, { id }) => state.getIn(['accounts', state.getIn(['statuses', state.getIn(['statuses', id, 'quote_id']), 'account'])]), getFilters, ], - (statusBase, statusReblog, statusQuote, accountBase, accountReblog, accountQuote, filters) => { + (statusBase, statusReblog, statusQuote, accountBase, accountReblog, filters) => { if (!statusBase || statusBase.get('isLoading')) { return null; } @@ -55,12 +54,6 @@ export const makeGetStatus = () => { statusReblog = null; } - if (statusQuote) { - statusQuote = statusQuote.set('account', accountQuote); - } else { - statusQuote = null; - } - if (hideBlockingQuote && statusBase.getIn(['quote', 'quote_muted'])) { return null; }