summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2018-05-20 12:48:20 +0500
committerElzorFox <elzorfox@ya.ru>2018-05-20 12:48:20 +0500
commitc5bf7d6123dd1c3b82ccb8fdb1b068077e9d56d4 (patch)
tree8fd5a4035e473a9c06a2c7909cea655119208369 /protocols/VKontakte
parent7deea6cec5d2173f66d4c2dd75ca0b633b887bc7 (diff)
VKontakte:
update VK_API to 5.74 update User Long Poll API version to 3 version bump
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r--protocols/VKontakte/src/version.h4
-rw-r--r--protocols/VKontakte/src/vk.h2
-rw-r--r--protocols/VKontakte/src/vk_pollserver.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/protocols/VKontakte/src/version.h b/protocols/VKontakte/src/version.h
index 2e72242b00..3019c1fd98 100644
--- a/protocols/VKontakte/src/version.h
+++ b/protocols/VKontakte/src/version.h
@@ -1,7 +1,7 @@
#define __MAJOR_VERSION 0
#define __MINOR_VERSION 1
-#define __RELEASE_NUM 4
-#define __BUILD_NUM 5
+#define __RELEASE_NUM 5
+#define __BUILD_NUM 0
#include <stdver.h>
diff --git a/protocols/VKontakte/src/vk.h b/protocols/VKontakte/src/vk.h
index e894a6304e..15a8a23bb1 100644
--- a/protocols/VKontakte/src/vk.h
+++ b/protocols/VKontakte/src/vk.h
@@ -88,7 +88,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VK_USER_DEACTIVATE_ACTION 9321
-#define VK_API_VER "5.74"
+#define VK_API_VER "5.75"
#define VER_API CHAR_PARAM("v", VK_API_VER)
#define VK_FEED_USER 2147483647L
diff --git a/protocols/VKontakte/src/vk_pollserver.cpp b/protocols/VKontakte/src/vk_pollserver.cpp
index 8f92639ab8..735d7c1eb7 100644
--- a/protocols/VKontakte/src/vk_pollserver.cpp
+++ b/protocols/VKontakte/src/vk_pollserver.cpp
@@ -24,7 +24,7 @@ void CVkProto::RetrievePollingInfo()
return;
Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/messages.getLongPollServer.json", true, &CVkProto::OnReceivePollingInfo, AsyncHttpRequest::rpHigh)
<< INT_PARAM("use_ssl", 1)
- << INT_PARAM("lp_version", 2)
+ << INT_PARAM("lp_version", 3)
);
}