diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-12-31 04:44:21 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-12-31 04:44:21 +0000 |
commit | 5de1b2c939a26695aaab99540fe3d37527512cb3 (patch) | |
tree | a27e4c60a26c0f28d5b6321fce6564c3c8cb9239 /protocols/VKontakte/src/vk_feed.cpp | |
parent | 4f357958b94ad9e0637fcfd7c9b83cf24803c4cb (diff) |
VKontakte:
code cleanup
add hidden option for max photo count on loading news
git-svn-id: http://svn.miranda-ng.org/main/trunk@11690 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_feed.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_feed.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_feed.cpp b/protocols/VKontakte/src/vk_feed.cpp index 16740d9efc..9d3bcc3570 100644 --- a/protocols/VKontakte/src/vk_feed.cpp +++ b/protocols/VKontakte/src/vk_feed.cpp @@ -470,7 +470,7 @@ void CVkProto::RetrieveUnreadNews(time_t tLastNewsTime) Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/newsfeed.get.json", true, &CVkProto::OnReceiveUnreadNews)
<< INT_PARAM("count", 100)
<< INT_PARAM("return_banned", m_bNewsSourceIncludeBanned ? 1 : 0)
- << INT_PARAM("max_photos", 5)
+ << INT_PARAM("max_photos", m_iMaxLoadNewsPhoto)
<< INT_PARAM("start_time", tLastNewsTime + 1)
<< CHAR_PARAM("filters", szFilter.GetBuffer())
<< CHAR_PARAM("source_ids", szSource.GetBuffer())
|