From 76f5c3ac676d82dbb5b36fc9ebf67aa9d0e73ea1 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Fri, 5 Feb 2016 14:10:17 +0000 Subject: =?UTF-8?q?VKontakte:=20hidden=20option=20=E2=80=98MaxFriendsCount?= =?UTF-8?q?=E2=80=99=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.miranda-ng.org/main/trunk@16222 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/VKontakte/src/vk_thread.cpp') diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 1be9dae334..4775fe83fb 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -506,7 +506,7 @@ void CVkProto::RetrieveFriends(bool bCleanNonFriendContacts) if (!IsOnline()) return; Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/friends.get.json", true, &CVkProto::OnReceiveFriends) - << INT_PARAM("count", 1000) + << INT_PARAM("count", m_iMaxFriendsCount > 5000 ? 1000 : m_iMaxFriendsCount) << CHAR_PARAM("fields", fieldsName) << VER_API)->pUserInfo = new CVkSendMsgParam(NULL, bCleanNonFriendContacts ? 1 : 0); } -- cgit v1.2.3