From 77a1f91e61f6d63591ec06db9ff2b3ef54af832f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 19 Dec 2022 21:07:24 +0300 Subject: Telegram: - new chat processing; - td::td_api namespace is simply TD now; - AddUser now returns TG_USER instead of simple MCONTACT --- protocols/Telegram/src/mt_proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Telegram/src/mt_proto.cpp') 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); -- cgit v1.2.3