[Glitch] Skip pagination logic entirely for pinned toots

lolsob-rspec
Thibaut Girka 2018-08-20 11:14:02 +02:00 committed by ThibG
parent 466df752ba
commit 64449831c8
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ export function expandTimeline(timelineId, path, params = {}, done = noOp) {
return; 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]); params.since_id = timeline.getIn(['items', 0]);
} }