2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

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

View File

@@ -30,6 +30,7 @@ enum class WindowLayout;
} // namespace Adaptive
namespace Data {
struct StoriesContext;
enum class StorySourcesList : uchar;
} // namespace Data
@@ -571,7 +572,7 @@ public:
void openPeerStory(
not_null<PeerData*> peer,
StoryId storyId,
Data::StorySourcesList list);
Data::StoriesContext context);
void openPeerStories(PeerId peerId, Data::StorySourcesList list);
struct PaintContextArgs {