2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Start stories viewer with ComposeControls.

This commit is contained in:
John Preston
2023-05-03 22:30:37 +04:00
parent 429a3da3e5
commit 89ca38ed29
23 changed files with 884 additions and 20 deletions

View File

@@ -63,6 +63,7 @@ class Stickers;
class GroupCall;
class NotifySettings;
class CustomEmojiManager;
class Stories;
struct RepliesReadTillUpdate {
FullMsgId id;
@@ -136,6 +137,9 @@ public:
[[nodiscard]] CustomEmojiManager &customEmojiManager() const {
return *_customEmojiManager;
}
[[nodiscard]] Stories &stories() const {
return *_stories;
}
[[nodiscard]] MsgId nextNonHistoryEntryId() {
return ++_nonHistoryEntryId;
@@ -1007,6 +1011,7 @@ private:
const std::unique_ptr<ForumIcons> _forumIcons;
const std::unique_ptr<NotifySettings> _notifySettings;
const std::unique_ptr<CustomEmojiManager> _customEmojiManager;
const std::unique_ptr<Stories> _stories;
MsgId _nonHistoryEntryId = ServerMaxMsgId.bare + ScheduledMsgIdsRange;