clear up queueFlush nonsense

This commit is contained in:
Henry Jameson 2026-08-24 15:01:59 +03:00
commit 1c1526c065
6 changed files with 14 additions and 15 deletions

View file

@ -50,7 +50,7 @@ const timelineFetcher = (timeline, argument, credentials) => {
return fetchTimeline(args)
.then(({ data: statuses, pagination, timestamp }) => {
if (!older && statuses.length >= 20 && numStatusesBeforeFetch > 0) {
useTimelinesStore().queueFlush(timeline.name, timeline.maxId)
useTimelinesStore().requireReload(timeline.name)
}
if (older && statuses.length === 0) {