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

Skip pagination logic entirely for pinned toots (fixes #8302) (#8310)

parent 6226aa83
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ export function expandTimeline(timelineId, path, params = {}, done = noOp) {
return;
}
if (!params.max_id && timeline.get('items', ImmutableList()).size > 0) {
if (!params.max_id && !params.pinned && timeline.get('items', ImmutableList()).size > 0) {
params.since_id = timeline.getIn(['items', 0]);
}
......
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