mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Save correct starsPerMessage for admins.
This commit is contained in:
@@ -860,6 +860,9 @@ public:
|
||||
void sentFromScheduled(SentFromScheduled value);
|
||||
[[nodiscard]] rpl::producer<SentFromScheduled> sentFromScheduled() const;
|
||||
|
||||
[[nodiscard]] int commonStarsPerMessage(
|
||||
not_null<ChannelData*> channel) const;
|
||||
|
||||
void clearLocalStorage();
|
||||
|
||||
private:
|
||||
@@ -1165,6 +1168,9 @@ private:
|
||||
not_null<ChannelData*>,
|
||||
ChannelId>> _postponedMonoforumLinkedIds;
|
||||
|
||||
// This one from `channel`, not `channelFull`.
|
||||
base::flat_map<not_null<ChannelData*>, int> _commonStarsPerMessage;
|
||||
|
||||
MessageIdsList _mimeForwardIds;
|
||||
|
||||
std::weak_ptr<CreditsSubsRebuilder> _creditsSubsRebuilder;
|
||||
|
Reference in New Issue
Block a user