From 6305fbfa64385443f1427a70dc7bb053761a88ba Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 24 Jan 2014 16:48:48 +0000 Subject: huh-huh, this clutch is still actual git-svn-id: http://svn.miranda-ng.org/main/trunk@7859 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_thread.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'protocols') 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")); -- cgit v1.2.3