summaryrefslogtreecommitdiff
path: root/protocols/ICQ-WIM/src/http.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-01 19:29:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-01 19:29:26 +0300
commit128341ef85a0f9daef7dce3653adf1011f3e6e06 (patch)
tree479b9ab1af161a2e8289f31eb5e874a6c35ddcdc /protocols/ICQ-WIM/src/http.cpp
parent70b77d0c25f8138e30d78d3af7966711cff3b375 (diff)
ICQ-WIM: code cleaning & optimization
Diffstat (limited to 'protocols/ICQ-WIM/src/http.cpp')
-rw-r--r--protocols/ICQ-WIM/src/http.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/ICQ-WIM/src/http.cpp b/protocols/ICQ-WIM/src/http.cpp
index e31cc46fe8..47929fbc69 100644
--- a/protocols/ICQ-WIM/src/http.cpp
+++ b/protocols/ICQ-WIM/src/http.cpp
@@ -234,6 +234,15 @@ void CIcqProto::Push(MHttpRequest *p)
/////////////////////////////////////////////////////////////////////////////////////////
+AsyncHttpRequest* operator<<(AsyncHttpRequest *pReq, const AIMSID &param)
+{
+ pReq << CHAR_PARAM("f", "json") << CHAR_PARAM("aimsid", param.m_ppro->m_aimsid) << CHAR_PARAM("r", pReq->m_reqId);
+ pReq->flags |= NLHRF_NODUMPSEND;
+ return pReq;
+}
+
+/////////////////////////////////////////////////////////////////////////////////////////
+
JsonReply::JsonReply(NETLIBHTTPREQUEST *pReply)
{
if (pReply == nullptr) {