Stories: Fix preloading errors (#6509)
This commit is contained in:
parent
047631473b
commit
2968c42b22
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user