diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-10-06 09:48:49 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-10-06 09:48:49 +0000 |
commit | 3897e7500fd9c3a01d4141f9c037ee9432c8eaab (patch) | |
tree | b4d2168370f4206f64c509b792db5735f093eccb /protocols/VKontakte/src/vk_proto.cpp | |
parent | 7af885608ecb5da860d81d692bf15aa26fdb7b8e (diff) |
VKontakte:
fix for filter on search result
upload files support part 2 (audio and documents)
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@10704 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 3d59c48847..d7d46d6f40 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -374,7 +374,8 @@ void CVkProto::OnSendMessage(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq) JSONNODE *pResponse = CheckJsonResponse(pReq, reply, pRoot);
if (pResponse != NULL) {
UINT mid = json_as_int(pResponse);
- m_sendIds.insert((HANDLE)mid);
+ if (param->iMsgID != -1)
+ m_sendIds.insert((HANDLE)mid);
if (mid>getDword(param->hContact, "lastmsgid", 0))
setDword(param->hContact, "lastmsgid", mid);
if (m_bMarkReadOnReply)
|