diff options
author | ThibG <thib@sitedethib.com> | 2018-08-20 13:32:43 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-08-20 13:32:43 +0200 |
commit | 5fbf12bbb881181eb64c4d3e1b5f49b475572dc5 (patch) | |
tree | ac0b69d2901b4ec62af39c592f14c51c1e3c9a26 /app | |
parent | 6226aa83d7eb0e03cc7d577eee1fe129cf0f36fc (diff) |
Skip pagination logic entirely for pinned toots (fixes #8302) (#8310)
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/actions/timelines.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/actions/timelines.js b/app/javascript/mastodon/actions/timelines.js index 11a199db6..e8fd441e1 100644 --- a/app/javascript/mastodon/actions/timelines.js +++ b/app/javascript/mastodon/actions/timelines.js @@ -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]); } |