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

Support default forum topic icons.

This commit is contained in:
John Preston
2022-10-21 21:13:13 +04:00
parent 5314833c82
commit 0cba9e4a22
13 changed files with 187 additions and 18 deletions

View File

@@ -53,6 +53,7 @@ class SendActionManager;
class SponsoredMessages;
class Reactions;
class EmojiStatuses;
class ForumIcons;
class ChatFilters;
class CloudThemes;
class Streaming;
@@ -128,6 +129,9 @@ public:
[[nodiscard]] EmojiStatuses &emojiStatuses() const {
return *_emojiStatuses;
}
[[nodiscard]] ForumIcons &forumIcons() const {
return *_forumIcons;
}
[[nodiscard]] NotifySettings &notifySettings() const {
return *_notifySettings;
}
@@ -986,6 +990,7 @@ private:
std::unique_ptr<SponsoredMessages> _sponsoredMessages;
const std::unique_ptr<Reactions> _reactions;
const std::unique_ptr<EmojiStatuses> _emojiStatuses;
const std::unique_ptr<ForumIcons> _forumIcons;
const std::unique_ptr<NotifySettings> _notifySettings;
const std::unique_ptr<CustomEmojiManager> _customEmojiManager;