mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-23 16:56:55 +00:00
Return loading of full archive.
This commit is contained in:
parent
3cb49127f4
commit
76f7a870ed
@ -116,7 +116,7 @@ rpl::producer<StoriesIdsSlice> ArchiveStoriesIds(
|
||||
const auto hasBefore = int(i - begin(archive.list));
|
||||
const auto hasAfter = int(end(archive.list) - i);
|
||||
if (hasAfter < limit) {
|
||||
//stories->archiveLoadMore();
|
||||
stories->archiveLoadMore();
|
||||
}
|
||||
const auto takeBefore = std::min(hasBefore, limit);
|
||||
const auto takeAfter = std::min(hasAfter, limit);
|
||||
|
Loading…
Reference in New Issue
Block a user