don't try to fetch older posts if bottomed out

This commit is contained in:
Henry Jameson 2026-08-24 17:28:13 +03:00
commit 954bbedb2d

View file

@ -47,6 +47,7 @@ const timelineFetcher = (timeline, argument, credentials) => {
const numStatusesBeforeFetch = timeline.statusIds.size
if (bottomedOut.value) return
return fetchTimeline(args)
.then(({ data: statuses, pagination, timestamp }) => {
if (!older && statuses.length >= 20 && numStatusesBeforeFetch > 0) {