diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-20 11:14:02 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-08-20 20:09:19 +0200 |
commit | 24f39c08419093b2559d44e866d14af0151ab7a8 (patch) | |
tree | ea277e2e478ad3a6d9c14479ca0191f3e4bb4555 | |
parent | 0c091475df093311916c79104098f67fdfcf4d4c (diff) |
[Glitch] Skip pagination logic entirely for pinned toots
-rw-r--r-- | app/javascript/flavours/glitch/actions/timelines.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/actions/timelines.js b/app/javascript/flavours/glitch/actions/timelines.js index 9597fe89d..7f1ff8e3b 100644 --- a/app/javascript/flavours/glitch/actions/timelines.js +++ b/app/javascript/flavours/glitch/actions/timelines.js @@ -72,7 +72,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]); } |