summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-14 20:43:14 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-01-14 20:43:14 +0300
commitd71bd60cf9fe98f3782fe008e285470be257eb23 (patch)
treea9d473afac213b8a45159c3f4c509db9ddcb6b81 /protocols
parentd4b0dccc406be16ea0e120649bd6f0d640930825 (diff)
unused function removed
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Icq10/src/proto.cpp2
-rw-r--r--protocols/Icq10/src/proto.h1
-rw-r--r--protocols/Icq10/src/server.cpp8
3 files changed, 1 insertions, 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<CIcqProto>
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)