Merge branch 'fix/fetch-activities-by-last-id' into 'develop'
#406 Fetch activities by last id See merge request pleroma/pleroma-fe!621
This commit is contained in:
commit
c44f0a9bde
2 changed files with 10 additions and 7 deletions
|
@ -21,7 +21,7 @@ const fetchAndUpdate = ({store, credentials, timeline = 'friends', older = false
|
|||
const timelineData = rootState.statuses.timelines[camelCase(timeline)]
|
||||
|
||||
if (older) {
|
||||
args['until'] = until || timelineData.minVisibleId
|
||||
args['until'] = until || timelineData.minId
|
||||
} else {
|
||||
args['since'] = timelineData.maxId
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue