Allow showing stories in different contexts.

This commit is contained in:
John Preston
2023-06-05 16:10:34 +04:00
parent e7c0385aea
commit b71d72ca7c
21 changed files with 231 additions and 112 deletions
@@ -95,7 +95,9 @@ object_ptr<Ui::BoxContent> PrepareContactsBox(
raw->clicks(
) | rpl::start_with_next([=](uint64 id) {
sessionController->openPeerStories(PeerId(int64(id)), {});
sessionController->openPeerStories(
PeerId(int64(id)),
Data::StorySourcesList::All);
}, raw->lifetime());
raw->showProfileRequests(