aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/CommunityManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'td/telegram/CommunityManager.h')
-rw-r--r--td/telegram/CommunityManager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/td/telegram/CommunityManager.h b/td/telegram/CommunityManager.h
index e53c11c0f..fb936d601 100644
--- a/td/telegram/CommunityManager.h
+++ b/td/telegram/CommunityManager.h
@@ -9,6 +9,7 @@
#include "td/telegram/CommunityId.h"
#include "td/telegram/DialogParticipant.h"
#include "td/telegram/DialogPhoto.h"
+#include "td/telegram/QueryMerger.h"
#include "td/actor/actor.h"
@@ -144,6 +145,8 @@ class CommunityManager final : public Actor {
FlatHashMap<CommunityId, vector<Promise<Unit>>, CommunityIdHash> load_community_from_database_queries_;
FlatHashSet<CommunityId, CommunityIdHash> loaded_from_database_communities_;
+
+ QueryMerger get_community_queries_{"GetCommunityMerger", 10, 1};
};
} // namespace td