summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_history.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2017-03-19 15:46:52 +0500
committerElzorFox <elzorfox@ya.ru>2017-03-19 15:46:52 +0500
commitfbe3739da349afbb2e42bc6c1ce5a20b657289ac (patch)
tree32839dc042b540c01b1cd10274a464ecb2dfb635 /protocols/VKontakte/src/vk_history.cpp
parent71a8b0d202f89ae3a53fa3978b2588e79511da1b (diff)
VKontakte:
fix sending API requests (maximum 3 requests to API methods per second) fix sending long and uint parameters as signed int version bump
Diffstat (limited to 'protocols/VKontakte/src/vk_history.cpp')
-rw-r--r--protocols/VKontakte/src/vk_history.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_history.cpp b/protocols/VKontakte/src/vk_history.cpp
index 8d4dcac8fd..ec1e9e53a7 100644
--- a/protocols/VKontakte/src/vk_history.cpp
+++ b/protocols/VKontakte/src/vk_history.cpp
@@ -115,11 +115,12 @@ void CVkProto::GetServerHistoryLastNDay(MCONTACT hContact, int NDay)
void CVkProto::GetServerHistory(MCONTACT hContact, int iOffset, int iCount, int iTime, int iLastMsgId, bool once)
{
- debugLogA("CVkProto::GetServerHistory %d %d %d %d %d", iOffset, iCount, iTime, iLastMsgId, (int)once);
+ debugLogA("CVkProto::GetServerHistory");
if (!IsOnline() || iCount == 0)
return;
LONG userID = getDword(hContact, "ID", VK_INVALID_USER);
+ debugLogA("CVkProto::GetServerHistory %ld %d %d %d %d %d", userID, iOffset, iCount, iTime, iLastMsgId, (int)once);
if (VK_INVALID_USER == userID || userID == VK_FEED_USER)
return;