2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Load more story users on demand.

This commit is contained in:
John Preston
2023-05-29 12:06:21 +04:00
parent 4e165a2107
commit 4a67641460
5 changed files with 30 additions and 1 deletions

View File

@@ -342,6 +342,11 @@ InnerWidget::InnerWidget(
_controller->openPeerStories(PeerId(int64(id)));
}, lifetime());
_stories->loadMoreRequests(
) | rpl::start_with_next([=] {
session().data().stories().loadMore();
}, lifetime());
handleChatListEntryRefreshes();
refreshWithCollapsedRows(true);