summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_messages.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-09-16 14:11:06 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-09-16 14:11:06 +0000
commitdfa2c32267d9a404fb4bb9a324f83e196624671f (patch)
tree5e29ef430d57a89dbe7e851256f507c28246ed19 /protocols/VKontakte/src/vk_messages.cpp
parentd0a1040e019092c29d8d2a2c2a29bc1e7644a5e5 (diff)
VKontakte: fix sticker sent
git-svn-id: http://svn.miranda-ng.org/main/trunk@15362 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_messages.cpp')
-rw-r--r--protocols/VKontakte/src/vk_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp
index ad75928ae9..3e22601291 100644
--- a/protocols/VKontakte/src/vk_messages.cpp
+++ b/protocols/VKontakte/src/vk_messages.cpp
@@ -69,7 +69,7 @@ int CVkProto::SendMsg(MCONTACT hContact, int, const char *szMsg)
if (!m_bServerDelivery)
ForkThread(&CVkProto::SendMsgAck, new CVkSendMsgParam(hContact, msgId));
- if (retMsg) {
+ if (!IsEmpty(retMsg)) {
Sleep(330);
SendMsg(hContact, 0, retMsg);
}