fix empty timeline bug

This commit is contained in:
Henry Jameson 2026-06-22 15:31:46 +03:00
commit 7fc0765dc9

View file

@ -52,7 +52,8 @@ const fetchAndUpdate = ({
const loggedIn = !!rootState.users.currentUser
if (older) {
args.maxId = maxId || timelineData.minId
// When minId = 0 we need to fetch without maxId param
args.maxId = maxId || timelineData.minId || null
} else {
if (sinceId === undefined) {
args.sinceId = timelineData.maxId