summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 22:40:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 22:40:02 +0300
commit09e90f29d43694f401d80d8d86140eb96c21558a (patch)
tree736989b2d49912d552f5e9fec11561a2496f7697 /protocols
parente7ca07ff3871bb91337f50adce8274f0eee43f26 (diff)
merge with master till
VKontakte: update VK_API to 5.76
Diffstat (limited to 'protocols')
-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..43d4d0ecbd 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 1
#include <stdver.h>
diff --git a/protocols/VKontakte/src/vk.h b/protocols/VKontakte/src/vk.h
index e894a6304e..4e4eac7697 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.76"
#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)
);
}