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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user