diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-01-31 08:07:06 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-01-31 08:07:06 +0000 |
commit | 48696c608103ad2a5adac0e6280d96fa281d726e (patch) | |
tree | 2a3b0a9a57301468c5737e6faf966b5b1908c8f2 /protocols/VKontakte/src/vk_proto.cpp | |
parent | 7df19254e64619d6b077a7c69b456a39d4a810cb (diff) |
VKontakte:
upgrade VK API version to 5.28 (friends.delete change)
delete unneeded code
UseNonStandardUrlEncode=true by default
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@11964 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 11b87229fd..1ab60f23fa 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -107,7 +107,7 @@ CVkProto::CVkProto(const char *szModuleName, const TCHAR *ptszUserName) : m_bNotificationFilterReposts = getBool("NotificationFilterComments", true);
m_bNotificationFilterMentions = getBool("NotificationFilterMentions", true);
- m_bUseNonStandardUrlEncode = getBool("UseNonStandardUrlEncode", false);
+ m_bUseNonStandardUrlEncode = getBool("UseNonStandardUrlEncode", true);
// Set all contacts offline -- in case we crashed
SetAllContactStatuses(ID_STATUS_OFFLINE);
vk_Instances.insert(this);
@@ -492,9 +492,7 @@ int CVkProto::SendMsg(MCONTACT hContact, int flags, const char *msg) pReq << CHAR_PARAM("message", szMsg);
pReq->AddHeader("Content-Type", "application/x-www-form-urlencoded");
- do
- pReq->pUserInfo = new CVkSendMsgParam(hContact, msgId);
- while (pReq->pUserInfo == NULL && pReq->m_iRetry-- > 0);
+ pReq->pUserInfo = new CVkSendMsgParam(hContact, msgId);
Push(pReq);
if (!m_bServerDelivery)
|