diff --git a/src/global/actions/api/stories.ts b/src/global/actions/api/stories.ts index a88ba3caf..558166d02 100644 --- a/src/global/actions/api/stories.ts +++ b/src/global/actions/api/stories.ts @@ -604,7 +604,7 @@ addActionHandler('loadStoriesMaxIds', async (global, actions, payload): Promise< hasStories: Boolean(maxId.maxId), }); - if (maxId.maxId !== 0) { + if (maxId.maxId && maxId.maxId > 0) { peerIdsToLoad.push(peer.id); } });