summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2017-09-06 08:51:58 +0500
committerElzorFox <elzorfox@ya.ru>2017-09-06 08:51:58 +0500
commitc8e7d7f60fee662436610e7b24d39b5da3a5454e (patch)
tree3f6e51fa4503e88f1e27ee0535fa3d8e031ad310 /protocols/VKontakte
parent0c75e77e0f5321150ceff6aa0a3fd9dc5dc1c294 (diff)
VKontakte:
fix error 100 on messages.markAsRead version bump
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r--protocols/VKontakte/src/version.h2
-rw-r--r--protocols/VKontakte/src/vk_messages.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/version.h b/protocols/VKontakte/src/version.h
index a11990be5a..f9362e3e33 100644
--- a/protocols/VKontakte/src/version.h
+++ b/protocols/VKontakte/src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 1
#define __RELEASE_NUM 2
-#define __BUILD_NUM 22
+#define __BUILD_NUM 23
#include <stdver.h>
diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp
index a4ce553bf2..7e09d051d6 100644
--- a/protocols/VKontakte/src/vk_messages.cpp
+++ b/protocols/VKontakte/src/vk_messages.cpp
@@ -192,6 +192,7 @@ void CVkProto::MarkMessagesRead(const MCONTACT hContact)
return;
Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/messages.markAsRead.json", true, &CVkProto::OnReceiveSmth, AsyncHttpRequest::rpLow)
+ << INT_PARAM("start_message_id", 0)
<< INT_PARAM("peer_id", userID));
}