summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_history.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-12-15 06:12:18 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-12-15 06:12:18 +0000
commit27a37d3d9753b378fa85cce0f7fa3e2de8e35a57 (patch)
treea649ad6cb45d7cf3af8a79f629ef920f595dc6fb /protocols/VKontakte/src/vk_history.cpp
parentaaba011d2a0a37bca3e12514d0e9abc5da3f742d (diff)
VKontakte:
fix for warning C4121 in AsyncHttpRequest struct fix for TCHAR in SetMirVer add vk feeds support (wall) – part 1 git-svn-id: http://svn.miranda-ng.org/main/trunk@11430 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_history.cpp')
-rw-r--r--protocols/VKontakte/src/vk_history.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_history.cpp b/protocols/VKontakte/src/vk_history.cpp
index 2ce58429ee..7474b512ea 100644
--- a/protocols/VKontakte/src/vk_history.cpp
+++ b/protocols/VKontakte/src/vk_history.cpp
@@ -29,7 +29,7 @@ INT_PTR __cdecl CVkProto::SvcGetAllServerHistory(WPARAM hContact, LPARAM)
return 0;
LONG userID = getDword(hContact, "ID", -1);
- if (userID == -1)
+ if (userID == -1 || userID == VK_FEED_USER)
return 0;
HANDLE hDBEvent = db_event_first(hContact);
@@ -125,7 +125,7 @@ void CVkProto::GetServerHistory(MCONTACT hContact, int iOffset, int iCount, int
return;
LONG userID = getDword(hContact, "ID", -1);
- if (-1 == userID)
+ if (-1 == userID || userID == VK_FEED_USER)
return;
CMStringA code, formatcode = "var iOffset=%d;var iReqCount=%d;var userID=%d;var iTime=%d;var lastMid=%d;"