diff options
author | ElzorFox <elzorfox@ya.ru> | 2023-03-03 16:37:31 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2023-03-03 16:37:31 +0500 |
commit | 8cc04db475400cbe40873ee14264b7a7db6acd2b (patch) | |
tree | ee50890c480eed1f8ea104c4dc7d67d53d99444a | |
parent | ed45aa912e89bb1fabe829c9644d34803a24ddda (diff) |
VKontakte: fix api error (markAsRead parametr error)
-rw-r--r-- | protocols/VKontakte/src/vk_messages.cpp | 2 |
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));
}
|