mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Return loading of full archive.
This commit is contained in:
parent
3cb49127f4
commit
76f7a870ed
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue