From 91996a2f0ab5228acdfac1d0c662d68339a0ed79 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sun, 20 Mar 2016 16:57:19 +0000 Subject: VK: code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@16518 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_proto.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'protocols/VKontakte/src/vk_proto.cpp') diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 165de633b9..fec5c09f06 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -606,8 +606,7 @@ int CVkProto::AuthRequest(MCONTACT hContact,const TCHAR* message) Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/friends.add.json", true, &CVkProto::OnReceiveAuthRequest) << INT_PARAM("user_id", userID) - << TCHAR_PARAM("text", msg) - << VER_API)->pUserInfo = new CVkSendMsgParam(hContact); + << TCHAR_PARAM("text", msg))->pUserInfo = new CVkSendMsgParam(hContact); return 0; } @@ -689,8 +688,7 @@ int CVkProto::UserIsTyping(MCONTACT hContact, int type) Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/messages.setActivity.json", true, &CVkProto::OnReceiveSmth, AsyncHttpRequest::rpLow) << INT_PARAM("user_id", userID) - << CHAR_PARAM("type", "typing") - << VER_API); + << CHAR_PARAM("type", "typing")); return 0; } return 1; -- cgit v1.2.3