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

Update color index caches on palette change.

This commit is contained in:
John Preston
2023-10-23 21:29:18 +04:00
parent 4709e11e46
commit 60fb5fdaf0
22 changed files with 148 additions and 72 deletions

View File

@@ -726,6 +726,9 @@ public:
void webViewResultSent(WebViewResultSent &&sent);
[[nodiscard]] rpl::producer<WebViewResultSent> webViewResultSent() const;
[[nodiscard]] auto peerDecorationsUpdated() const
-> rpl::producer<not_null<PeerData*>>;
void clearLocalStorage();
private:
@@ -1011,6 +1014,8 @@ private:
rpl::event_stream<WebViewResultSent> _webViewResultSent;
rpl::event_stream<not_null<PeerData*>> _peerDecorationsUpdated;
Groups _groups;
const std::unique_ptr<ChatFilters> _chatsFilters;
std::unique_ptr<ScheduledMessages> _scheduledMessages;