From ab75f8e4a3968c956425844415237a4fa6fcee63 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Tue, 26 May 2015 19:15:20 +0000 Subject: Steam: merge new api git-svn-id: http://svn.miranda-ng.org/main/trunk@13850 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_messages.cpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'protocols/Steam/src/steam_messages.cpp') diff --git a/protocols/Steam/src/steam_messages.cpp b/protocols/Steam/src/steam_messages.cpp index 3258613261..5a55919a07 100644 --- a/protocols/Steam/src/steam_messages.cpp +++ b/protocols/Steam/src/steam_messages.cpp @@ -8,9 +8,9 @@ // ptrA umqId(getStringA("UMQID")); // ptrA steamId(getStringA(hContact, "SteamID")); // -// SteamWebApi::MessageApi::SendResult sendResult; -// debugLogA("CSteamProto::SendTypingThread: call SteamWebApi::PollApi::SteamWebApi::MessageApi::SendMessage"); -// SteamWebApi::MessageApi::SendTyping(m_hNetlibUser, token, umqId, steamId, &sendResult); +// MessageApi::SendResult sendResult; +// debugLogA("CSteamProto::SendTypingThread: call PollApi::MessageApi::SendMessage"); +// MessageApi::SendTyping(m_hNetlibUser, token, umqId, steamId, &sendResult); //} void CSteamProto::OnMessageSent(const NETLIBHTTPREQUEST *response, void *arg) @@ -46,4 +46,11 @@ void CSteamProto::OnMessageSent(const NETLIBHTTPREQUEST *response, void *arg) status, param->hMessage, (LPARAM) errorA); +} + +void CSteamProto::MessageParamFree(void *arg) +{ + SendMessageParam *param = (SendMessageParam*)arg; + mir_free(param->message); + mir_free(param); } \ No newline at end of file -- cgit v1.2.3