diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-17 17:37:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-17 17:37:39 +0300 |
commit | b68362e4ca9a176bde960f20dce76822e0a5dd0e (patch) | |
tree | 9985b477a54aa7d16f782f408cf74e828b8a3fed /protocols/VKontakte/src/misc.cpp | |
parent | 7623a366aeedaffb50057fc7ae01ad47925bb7fd (diff) |
code cleaning
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 196f76f29f..582aa00481 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -701,7 +701,7 @@ void CVkProto::ContactTypingThread(void *p) Sleep(4500);
CallService(MS_PROTO_CONTACTISTYPING, hContact);
- if (!ServiceExists(MS_MESSAGESTATE_UPDATE)) {
+ if (!g_bMessageState) {
Sleep(1500);
SetSrmmReadStatus(hContact);
}
@@ -739,7 +739,7 @@ int CVkProto::OnProcessSrmmEvent(WPARAM, LPARAM lParam) if (szProto.IsEmpty() || szProto != m_szModuleName)
return 0;
- if (event->uType == MSG_WINDOW_EVT_OPENING && !ServiceExists(MS_MESSAGESTATE_UPDATE))
+ if (event->uType == MSG_WINDOW_EVT_OPENING && !g_bMessageState)
SetSrmmReadStatus(event->hContact);
if (event->uType == MSG_WINDOW_EVT_OPENING && m_vkOptions.bLoadLastMessageOnMsgWindowsOpen
|