From 5f11cd9975aeeb89d6a40b5640a7ab1f598beaae Mon Sep 17 00:00:00 2001 From: ElzorFox Date: Fri, 31 Jul 2020 23:24:23 +0500 Subject: VKontakte: fix deletion dialog on contact delete update VK_API version to 5.122 version bump --- protocols/VKontakte/src/version.h | 2 +- protocols/VKontakte/src/vk.h | 2 +- protocols/VKontakte/src/vk_proto.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/VKontakte') diff --git a/protocols/VKontakte/src/version.h b/protocols/VKontakte/src/version.h index 516717462b..66d1d0f9ce 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 11 -#define __BUILD_NUM 2 +#define __BUILD_NUM 3 #include diff --git a/protocols/VKontakte/src/vk.h b/protocols/VKontakte/src/vk.h index f4a87627fb..ed9733992b 100644 --- a/protocols/VKontakte/src/vk.h +++ b/protocols/VKontakte/src/vk.h @@ -88,7 +88,7 @@ along with this program. If not, see . #define VK_USER_DEACTIVATE_ACTION 9321 -#define VK_API_VER "5.120" +#define VK_API_VER "5.122" #define VER_API CHAR_PARAM("v", VK_API_VER) #define VK_FEED_USER 2147483647L diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 291d6d249b..2ba0ebfc25 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -669,7 +669,7 @@ void CVkProto::OnContactDeleted(MCONTACT hContact) CMStringA code(FORMAT, "var userID=\"%d\";", userID); if (param->bDeleteDialog) - code += "API.messages.deleteConversation({\"user_id\":userID,count:10000});"; + code += "API.messages.deleteConversation({\"peer_id\":userID});"; if (param->bDeleteFromFriendlist) code += "API.friends.delete({\"user_id\":userID});"; -- cgit v1.2.3