Skip to content
Snippets Groups Projects
Commit 0b888acf authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

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

parent 238de58e
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}));
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment