mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Return loading of full archive.
This commit is contained in:
@@ -116,7 +116,7 @@ rpl::producer<StoriesIdsSlice> ArchiveStoriesIds(
|
|||||||
const auto hasBefore = int(i - begin(archive.list));
|
const auto hasBefore = int(i - begin(archive.list));
|
||||||
const auto hasAfter = int(end(archive.list) - i);
|
const auto hasAfter = int(end(archive.list) - i);
|
||||||
if (hasAfter < limit) {
|
if (hasAfter < limit) {
|
||||||
//stories->archiveLoadMore();
|
stories->archiveLoadMore();
|
||||||
}
|
}
|
||||||
const auto takeBefore = std::min(hasBefore, limit);
|
const auto takeBefore = std::min(hasBefore, limit);
|
||||||
const auto takeAfter = std::min(hasAfter, limit);
|
const auto takeAfter = std::min(hasAfter, limit);
|
||||||
|
Reference in New Issue
Block a user