mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-20 20:27:07 +00:00
[Glitch] Skip pagination logic entirely for pinned toots
This commit is contained in:
parent
0c091475df
commit
24f39c0841
|
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue