Browse Source

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

master
ThibG 5 years ago
committed by Eugen Rochko
parent
commit
5fbf12bbb8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/actions/timelines.js

+ 1
- 1
app/javascript/mastodon/actions/timelines.js 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]);
}



Loading…
Cancel
Save