summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2023-03-03 16:37:31 +0500
committerElzorFox <elzorfox@ya.ru>2023-03-03 16:37:31 +0500
commit8cc04db475400cbe40873ee14264b7a7db6acd2b (patch)
treeee50890c480eed1f8ea104c4dc7d67d53d99444a
parented45aa912e89bb1fabe829c9644d34803a24ddda (diff)
VKontakte: fix api error (markAsRead parametr error)
-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 78ad3fd307..9fba88b8f9 100644
--- a/protocols/VKontakte/src/vk_messages.cpp
+++ b/protocols/VKontakte/src/vk_messages.cpp
@@ -160,7 +160,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("mark_conversation_as_read", 1)
<< INT_PARAM("peer_id", userID));
}