1
0
Fork 0
forked from fedi/mastodon

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

This commit is contained in:
ThibG 2018-08-20 13:32:43 +02:00 committed by Eugen Rochko
parent 6226aa83d7
commit 5fbf12bbb8

View file

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