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