summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/misc.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-06-10 05:04:12 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-06-10 05:04:12 +0000
commitbbb6cd5261b7e23f5b5231571b97a379bdc539d4 (patch)
treec01a3be2aecb7988c80527515222412e4ab786a7 /protocols/VKontakte/src/misc.cpp
parenta18e8fcd8026630019e4e8479d2858bf6998dba2 (diff)
VKontakte: no set ‘read message status’ when MessageState exist
git-svn-id: http://svn.miranda-ng.org/main/trunk@14096 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r--protocols/VKontakte/src/misc.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index eb96f60201..506fcad264 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -709,8 +709,11 @@ void CVkProto::ContactTypingThread(void *p)
CallService(MS_PROTO_CONTACTISTYPING, hContact, 5);
Sleep(5500);
CallService(MS_PROTO_CONTACTISTYPING, hContact, 0);
- Sleep(1500);
- SetSrmmReadStatus(hContact);
+
+ if (!ServiceExists("MessageState/DummyService")) {
+ Sleep(1500);
+ SetSrmmReadStatus(hContact);
+ }
}
int CVkProto::OnProcessSrmmEvent(WPARAM, LPARAM lParam)