diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-24 16:48:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-24 16:48:48 +0000 |
commit | 6305fbfa64385443f1427a70dc7bb053761a88ba (patch) | |
tree | ae8a88c0ed14fe57be3f1649c6e3d3b1ad2c9c75 | |
parent | b9ed228aeea79659f0a88d4e04ae1a3b8d59a8e2 (diff) |
huh-huh, this clutch is still actual
git-svn-id: http://svn.miranda-ng.org/main/trunk@7859 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 48908524cf..4030fdad68 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -424,13 +424,13 @@ void CVkProto::OnReceiveMessages(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe // VK documentation lies: even if you specified preview_length=0,
// long messages get cut out. So we need to retrieve them from scratch
ptrT ptszBody(json_as_string(json_get(pMsg, "body")));
- /* if (_tcslen(ptszBody) > 100) {
- if (!lmids.IsEmpty())
- lmids.AppendChar(',');
- lmids.Append(szMid);
- continue;
- }
- */
+ if (_tcslen(ptszBody) > 100) {
+ if (!lmids.IsEmpty())
+ lmids.AppendChar(',');
+ lmids.Append(szMid);
+ continue;
+ }
+
int datetime = json_as_int(json_get(pMsg, "date"));
int isOut = json_as_int(json_get(pMsg, "out"));
int uid = json_as_int(json_get(pMsg, "uid"));
|