From d71bd60cf9fe98f3782fe008e285470be257eb23 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 14 Jan 2019 20:43:14 +0300 Subject: unused function removed --- protocols/Icq10/src/proto.cpp | 2 +- protocols/Icq10/src/proto.h | 1 - protocols/Icq10/src/server.cpp | 8 -------- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/protocols/Icq10/src/proto.cpp b/protocols/Icq10/src/proto.cpp index db2bb4f98b..fa116b577e 100644 --- a/protocols/Icq10/src/proto.cpp +++ b/protocols/Icq10/src/proto.cpp @@ -162,7 +162,7 @@ int CIcqProto::OnGroupChange(WPARAM hContact, LPARAM lParam) CLISTGROUPCHANGE *pParam = (CLISTGROUPCHANGE*)lParam; if (hContact == 0) { // whole group is changed - auto *pReq = new AsyncHttpRequest(CONN_MAIN, REQUEST_GET, ICQ_API_SERVER "/buddylist/", &CIcqProto::OnUpdateGroup); + auto *pReq = new AsyncHttpRequest(CONN_MAIN, REQUEST_GET, ICQ_API_SERVER "/buddylist/"); pReq << CHAR_PARAM("f", "json") << CHAR_PARAM("aimsid", m_aimsid) << CHAR_PARAM("r", pReq->m_reqId); if (pParam->pszOldName == nullptr) { pReq->m_szUrl += "addGroup"; diff --git a/protocols/Icq10/src/proto.h b/protocols/Icq10/src/proto.h index 149723834b..ab09a29c12 100644 --- a/protocols/Icq10/src/proto.h +++ b/protocols/Icq10/src/proto.h @@ -118,7 +118,6 @@ class CIcqProto : public PROTO void OnSearchResults(NETLIBHTTPREQUEST*, AsyncHttpRequest*); void OnSendMessage(NETLIBHTTPREQUEST*, AsyncHttpRequest*); void OnStartSession(NETLIBHTTPREQUEST*, AsyncHttpRequest*); - void OnUpdateGroup(NETLIBHTTPREQUEST*, AsyncHttpRequest*); void OnValidateSms(NETLIBHTTPREQUEST*, AsyncHttpRequest*); void ProcessBuddyList(const JSONNode&); diff --git a/protocols/Icq10/src/server.cpp b/protocols/Icq10/src/server.cpp index 2343253d8c..adf862eedb 100644 --- a/protocols/Icq10/src/server.cpp +++ b/protocols/Icq10/src/server.cpp @@ -626,14 +626,6 @@ void CIcqProto::OnSendMessage(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest *pReq) CheckLastId(ownMsg->m_hContact, data); } -void CIcqProto::OnUpdateGroup(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest*) -{ - JsonReply root(pReply); - if (root.error() != 200) - return; - -} - ///////////////////////////////////////////////////////////////////////////////////////// void CIcqProto::ProcessBuddyList(const JSONNode &ev) -- cgit v1.2.3