diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-05 10:07:30 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-09-05 10:07:30 +0000 |
commit | b754e2e21ea8c3d122ba35d8a0eeba18e94e9e7f (patch) | |
tree | 53aed01857f1e5869bc93d3dd19b42d0a11dbeaf /protocols/VKontakte/src/misc.cpp | |
parent | e7cee36fa4222ecd447e98a51c20d96ce018bfdc (diff) |
Vkontakte: new MessageState api
git-svn-id: http://svn.miranda-ng.org/main/trunk@15250 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index 5507ca4f90..b5c3238027 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -701,7 +701,7 @@ void CVkProto::ContactTypingThread(void *p) Sleep(5500);
CallService(MS_PROTO_CONTACTISTYPING, hContact);
- if (!ServiceExists("MessageState/DummyService")) {
+ if (!ServiceExists(MS_MESSAGESTATE_UPDATE)) {
Sleep(1500);
SetSrmmReadStatus(hContact);
}
@@ -712,7 +712,7 @@ int CVkProto::OnProcessSrmmEvent(WPARAM, LPARAM lParam) debugLogA("CVkProto::OnProcessSrmmEvent");
MessageWindowEventData *event = (MessageWindowEventData *)lParam;
- if (event->uType == MSG_WINDOW_EVT_OPENING && !ServiceExists("MessageState/DummyService"))
+ if (event->uType == MSG_WINDOW_EVT_OPENING && !ServiceExists(MS_MESSAGESTATE_UPDATE))
SetSrmmReadStatus(event->hContact);
return 0;
|