summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_messages.cpp
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/src/vk_messages.cpp
parent0c75e77e0f5321150ceff6aa0a3fd9dc5dc1c294 (diff)
VKontakte:
fix error 100 on messages.markAsRead version bump
Diffstat (limited to 'protocols/VKontakte/src/vk_messages.cpp')
-rw-r--r--protocols/VKontakte/src/vk_messages.cpp1
1 files changed, 1 insertions, 0 deletions
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));
}