diff options
author | ElzorFox <elzorfox@ya.ru> | 2020-07-31 23:24:23 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2020-07-31 23:24:23 +0500 |
commit | 5f11cd9975aeeb89d6a40b5640a7ab1f598beaae (patch) | |
tree | 87aecc5e830e2f93b2b9f6deda5dd320f877ddbd /protocols | |
parent | 1f8177b4fe89bca5d64581f8cbed7b657790d293 (diff) |
VKontakte:
fix deletion dialog on contact delete
update VK_API version to 5.122
version bump
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/VKontakte/src/version.h | 2 | ||||
-rw-r--r-- | protocols/VKontakte/src/vk.h | 2 | ||||
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
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 <stdver.h>
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 <http://www.gnu.org/licenses/>. #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});";
|