diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-03-29 06:29:50 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-03-29 06:29:50 +0000 |
commit | 2d69f3e4cb933355d9424e7c73aa3b52bc220cbe (patch) | |
tree | b2a78ffa8b4042b46fc8663d0595960982cc99d7 /protocols/VKontakte/src/vk_messages.cpp | |
parent | 701eda4d1a36ea2cf9fc870695ce794ebaf3107d (diff) |
VKontakte:
remove unneeded Sleep()
captcha dialog -> core ui (patch by MikalaiR, edited)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16558 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_messages.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_messages.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp index b23804b267..44efc6a53e 100644 --- a/protocols/VKontakte/src/vk_messages.cpp +++ b/protocols/VKontakte/src/vk_messages.cpp @@ -73,10 +73,9 @@ int CVkProto::SendMsg(MCONTACT hContact, int, const char *szMsg) if (!m_bServerDelivery && !bIsChat)
ForkThread(&CVkProto::SendMsgAck, new CVkSendMsgParam(hContact, uMsgId));
- if (!IsEmpty(pszRetMsg)) {
- Sleep(330);
+ if (!IsEmpty(pszRetMsg))
SendMsg(hContact, 0, pszRetMsg);
- }
+
return uMsgId;
}
|