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

main
ThibG 6 years ago committed by Eugen Rochko
parent 6226aa83d7
commit 5fbf12bbb8

@ -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]);
}

Loading…
Cancel
Save