mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Added ability to cache filter colors in dialog entries.
This commit is contained in:
@@ -254,6 +254,7 @@ public:
|
||||
return _chatListPeerBadge;
|
||||
}
|
||||
|
||||
[[nodiscard]] bool hasChatsFilterTags(FilterId exclude) const;
|
||||
protected:
|
||||
void notifyUnreadStateChange(const UnreadState &wasState);
|
||||
inline auto unreadStateChangeNotifier(bool required);
|
||||
@@ -284,6 +285,7 @@ private:
|
||||
uint64 _sortKeyInChatList = 0;
|
||||
uint64 _sortKeyByDate = 0;
|
||||
base::flat_map<FilterId, int> _pinnedIndex;
|
||||
base::flat_map<FilterId, uint8> _tagColors;
|
||||
mutable Ui::PeerBadge _chatListPeerBadge;
|
||||
mutable Ui::Text::String _chatListNameText;
|
||||
mutable int _chatListNameVersion = 0;
|
||||
|
Reference in New Issue
Block a user