From 027bb1a89d1d21ac1465d3d40ed5ae5b7bfcd3cb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 12 Jan 2014 15:55:29 +0000 Subject: oops git-svn-id: http://svn.miranda-ng.org/main/trunk@7617 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index ec69b2a3ee..102ca3b24e 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -177,7 +177,7 @@ int CVkProto::SendMsg(HANDLE hContact, int flags, const char *msg) ULONG msgId = ::InterlockedIncrement(&m_msgId); AsyncHttpRequest *pReq = new AsyncHttpRequest(this, REQUEST_GET, "/method/messages.send.json", true, &CVkProto::OnSendMessage) - << INT_PARAM("type", 0) << INT_PARAM("uid", m_myUserId) << CHAR_PARAM("message", msg); + << INT_PARAM("type", 0) << INT_PARAM("uid", userID) << CHAR_PARAM("message", msg); pReq->pData = (char*)hContact; pReq->pUserInfo = (void*)msgId; Push(pReq); -- cgit v1.2.3