summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_messages.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2016-03-11 19:17:47 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2016-03-11 19:17:47 +0000
commit7c63d57169b30a5397fb8e1d0929eec600372652 (patch)
tree7e4609d747abb58489f4bb211aa10dce1359e5d8 /protocols/VKontakte/src/vk_messages.cpp
parent4b94525fe5eeac649bbe9cc4dcc3cbf7c84d226c (diff)
userinfoex: add display for vk-specific MaritalStatus
git-svn-id: http://svn.miranda-ng.org/main/trunk@16466 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_messages.cpp')
-rw-r--r--protocols/VKontakte/src/vk_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp
index dcdc52d11b..94f4db627e 100644
--- a/protocols/VKontakte/src/vk_messages.cpp
+++ b/protocols/VKontakte/src/vk_messages.cpp
@@ -57,7 +57,7 @@ int CVkProto::SendMsg(MCONTACT hContact, int, const char *szMsg)
ULONG uMsgId = ::InterlockedIncrement(&m_msgId);
AsyncHttpRequest *pReq = new AsyncHttpRequest(this, REQUEST_POST, "/method/messages.send.json", true, bIsChat? &CVkProto::OnSendChatMsg : &CVkProto::OnSendMessage, AsyncHttpRequest::rpHigh)
<< INT_PARAM(bIsChat ? "chat_id" : "user_id", iUserID)
- << INT_PARAM("guid", ((LONG) time(NULL)) * 100 + uMsgId % 100)
+ << INT_PARAM("random_id", ((LONG) time(NULL)) * 100 + uMsgId % 100)
<< VER_API;
pReq->AddHeader("Content-Type", "application/x-www-form-urlencoded");