about summary refs log tree commit diff
path: root/app/javascript/mastodon/actions/timelines.js
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-04-28 09:53:42 +0200
committerGitHub <noreply@github.com>2020-04-28 09:53:42 +0200
commitad9c7aefe6618a70c69991b7daf100573a7e27b9 (patch)
tree0a69e21ec542d54245f064993751fd5cc7d3903f /app/javascript/mastodon/actions/timelines.js
parent04eb59986461bc802d4432fe4131e09eadd070c0 (diff)
Refactor/cleanup TIMELINE_DELETE-related code (#13175)
Diffstat (limited to 'app/javascript/mastodon/actions/timelines.js')
-rw-r--r--app/javascript/mastodon/actions/timelines.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/actions/timelines.js b/app/javascript/mastodon/actions/timelines.js
index 50840cacc..861827d33 100644
--- a/app/javascript/mastodon/actions/timelines.js
+++ b/app/javascript/mastodon/actions/timelines.js
@@ -42,7 +42,7 @@ export function updateTimeline(timeline, status, accept) {
 export function deleteFromTimelines(id) {
   return (dispatch, getState) => {
     const accountId  = getState().getIn(['statuses', id, 'account']);
-    const references = getState().get('statuses').filter(status => status.get('reblog') === id).map(status => [status.get('id'), status.get('account')]);
+    const references = getState().get('statuses').filter(status => status.get('reblog') === id).map(status => status.get('id'));
     const reblogOf   = getState().getIn(['statuses', id, 'reblog'], null);
 
     dispatch({