diff options
author | George Hazan <ghazan@miranda.im> | 2022-12-19 21:07:24 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-12-19 21:07:24 +0300 |
commit | 77a1f91e61f6d63591ec06db9ff2b3ef54af832f (patch) | |
tree | eab9fee1b5617615e5d1983276e8a558279aebb2 /protocols/Telegram/src/mt_proto.cpp | |
parent | 2773b4a944bc760ac5a49017b32a7f5917d0d41c (diff) |
Telegram:
- new chat processing;
- td::td_api namespace is simply TD now;
- AddUser now returns TG_USER instead of simple MCONTACT
Diffstat (limited to 'protocols/Telegram/src/mt_proto.cpp')
-rw-r--r-- | protocols/Telegram/src/mt_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/src/mt_proto.cpp b/protocols/Telegram/src/mt_proto.cpp index 3550329e45..4b7c6fb211 100644 --- a/protocols/Telegram/src/mt_proto.cpp +++ b/protocols/Telegram/src/mt_proto.cpp @@ -111,7 +111,7 @@ int CMTProto::SetStatus(int iNewStatus) if (m_iDesiredStatus == ID_STATUS_OFFLINE) { if (m_bRunning) - SendQuery(new td::td_api::close()); + SendQuery(new TD::close()); m_iStatus = m_iDesiredStatus = ID_STATUS_OFFLINE; ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)oldStatus, m_iStatus); |