about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-11-09 17:58:46 +0100
committerThibG <thib@sitedethib.com>2018-11-09 21:57:56 +0100
commit868cace7975532509c41800c7b6b9a6c7838a6b0 (patch)
treeb4d2d3755431b8a11f65eec6e0bdd188d31c54be /app/javascript/flavours
parent0e80661e42bc0d0f364bad401cf93adf750542a3 (diff)
[Glitch] Remove unused computation of reblog references from updateTimeline
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/actions/timelines.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/actions/timelines.js b/app/javascript/flavours/glitch/actions/timelines.js
index 7f1ff8e3b..46645752d 100644
--- a/app/javascript/flavours/glitch/actions/timelines.js
+++ b/app/javascript/flavours/glitch/actions/timelines.js
@@ -16,7 +16,6 @@ export const TIMELINE_CONTEXT_UPDATE = 'CONTEXT_UPDATE';
 
 export function updateTimeline(timeline, status) {
   return (dispatch, getState) => {
-    const references = status.reblog ? getState().get('statuses').filter((item, itemId) => (itemId === status.reblog.id || item.get('reblog') === status.reblog.id)).map((_, itemId) => itemId) : [];
     const parents = [];
 
     if (status.in_reply_to_id) {
@@ -32,7 +31,6 @@ export function updateTimeline(timeline, status) {
       type: TIMELINE_UPDATE,
       timeline,
       status,
-      references,
     });
 
     if (parents.length > 0) {