summaryrefslogtreecommitdiff
path: root/protocols/Telegram/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-09 20:01:34 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-09 20:01:34 +0300
commitb96cd0c6250570ec58eda0e7c534bd39c62418a1 (patch)
treea1bfe7b891c394d2e09077aa3aaef1ce3637b344 /protocols/Telegram/src/proto.h
parentdbc48cc0ec4df774c257d5175d62bce16e2437e3 (diff)
fixes #4029 (Telegram: при покидании группы путём удаления контакта из базы, группа остаётся висеть в списке контактов серой)
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 4edce9f591..a4f8520abf 100644
--- a/protocols/Telegram/src/proto.h
+++ b/protocols/Telegram/src/proto.h
@@ -227,6 +227,7 @@ class CTelegramProto : public PROTO<CTelegramProto>
void OnGetHistory(td::ClientManager::Response &response, void *pUserInfo);
void OnGetSessions(td::ClientManager::Response &response, void *pUserInfo);
void OnKillSession(td::ClientManager::Response &response, void *pUserInfo);
+ void OnLeaveChat(td::ClientManager::Response &response, void *pUserInfo);
void OnSendFile(td::ClientManager::Response &response, void *pUserInfo);
void OnSendMessage(td::ClientManager::Response &response);
void OnUpdateAuth(td::ClientManager::Response &response);
@@ -366,7 +367,7 @@ public:
void OnBuildProtoMenu() override;
void OnContactAdded(MCONTACT hContact) override;
- void OnContactDeleted(MCONTACT hContact) override;
+ bool OnContactDeleted(MCONTACT hContact) override;
MWindow OnCreateAccMgrUI(MWindow hwndParent) override;
void OnErase() override;
void OnEventDeleted(MCONTACT, MEVENT) override;