aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/Dependencies.h
diff options
context:
space:
mode:
Diffstat (limited to 'td/telegram/Dependencies.h')
-rw-r--r--td/telegram/Dependencies.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/td/telegram/Dependencies.h b/td/telegram/Dependencies.h
index e02ba2aa6..301915b91 100644
--- a/td/telegram/Dependencies.h
+++ b/td/telegram/Dependencies.h
@@ -8,6 +8,7 @@
#include "td/telegram/ChannelId.h"
#include "td/telegram/ChatId.h"
+#include "td/telegram/CommunityId.h"
#include "td/telegram/DialogId.h"
#include "td/telegram/SecretChatId.h"
#include "td/telegram/StoryFullId.h"
@@ -26,6 +27,7 @@ class Dependencies {
FlatHashSet<ChannelId, ChannelIdHash> channel_ids;
FlatHashSet<SecretChatId, SecretChatIdHash> secret_chat_ids;
FlatHashSet<DialogId, DialogIdHash> dialog_ids;
+ FlatHashSet<CommunityId, CommunityIdHash> community_ids;
FlatHashSet<WebPageId, WebPageIdHash> web_page_ids;
FlatHashSet<StoryFullId, StoryFullIdHash> story_full_ids;
@@ -38,6 +40,8 @@ class Dependencies {
void add(SecretChatId secret_chat_id);
+ void add(CommunityId community_id);
+
void add(WebPageId web_page_id);
void add(StoryFullId story_full_id);