2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Make less channel full requests.

This commit is contained in:
John Preston
2025-06-27 18:12:25 +04:00
parent ff4b9a3cfe
commit bd5b9f5347
2 changed files with 35 additions and 14 deletions

View File

@@ -992,6 +992,10 @@ private:
void setWallpapers(const QVector<MTPWallPaper> &data, uint64 hash);
void highlightProcessDone(uint64 processId);
void applyMonoforumLinkedId(
not_null<ChannelData*> channel,
ChannelId linkedId);
void checkPollsClosings();
const not_null<Main::Session*> _session;
@@ -1157,6 +1161,10 @@ private:
std::unordered_map<PeerId, std::unique_ptr<PeerData>> _peers;
std::optional<base::flat_map<
not_null<ChannelData*>,
ChannelId>> _postponedMonoforumLinkedIds;
MessageIdsList _mimeForwardIds;
std::weak_ptr<CreditsSubsRebuilder> _creditsSubsRebuilder;