summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/src/proto.h')
-rw-r--r--protocols/Telegram/src/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Telegram/src/proto.h b/protocols/Telegram/src/proto.h
index 4040125506..d9a2e647b6 100644
--- a/protocols/Telegram/src/proto.h
+++ b/protocols/Telegram/src/proto.h
@@ -99,7 +99,7 @@ struct TG_USER : public MZeroedObject
delete pReactions;
}
- int64_t id, chatId = -1;
+ int64_t id, chatId = -1, forumId = -1;
MCONTACT hContact;
int folderId = -1, nHistoryChunks, nTopics;
bool isGroupChat, isChannel, isBot, isForum, bLoadMembers, bStartChat, bInited, bDelOwn = true, bDelAll = true;
@@ -353,6 +353,7 @@ class CTelegramProto : public PROTO<CTelegramProto>
OBJLIST<TG_USER> m_arUsers;
TG_USER* FindChat(int64_t id);
+ TG_USER* FindChat(int64_t id, int64_t forumId);
TG_USER* FindUser(int64_t id);
TG_USER* AddUser(int64_t id, bool bIsChat);
TG_USER* AddFakeUser(int64_t id, bool bIsChat);