Do not throw away statuses obtained via websocket when API request finishes (#6302)

th-downstream
ThibG 7 years ago committed by Eugen Rochko
parent 49b76b3025
commit 1e6d392ff5

@ -40,7 +40,7 @@ const normalizeTimeline = (state, timeline, statuses, next, isPartial) => {
mMap.set('loaded', true);
mMap.set('isLoading', false);
if (!hadNext) mMap.set('next', next);
mMap.set('items', wasLoaded ? ids.concat(oldIds) : ids);
mMap.set('items', wasLoaded ? ids.concat(oldIds) : oldIds.concat(ids));
mMap.set('isPartial', isPartial);
}));
};

Loading…
Cancel
Save