summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_messages.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-01-17 17:37:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-01-17 17:37:39 +0300
commitb68362e4ca9a176bde960f20dce76822e0a5dd0e (patch)
tree9985b477a54aa7d16f782f408cf74e828b8a3fed /protocols/VKontakte/src/vk_messages.cpp
parent7623a366aeedaffb50057fc7ae01ad47925bb7fd (diff)
code cleaning
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 349cd997e7..35156eedcf 100644
--- a/protocols/VKontakte/src/vk_messages.cpp
+++ b/protocols/VKontakte/src/vk_messages.cpp
@@ -438,7 +438,7 @@ void CVkProto::OnReceiveDlgs(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq)
if (IsGroupUser(hContact))
szGroupIds.AppendFormat(szGroupIds.IsEmpty() ? "%d" : ",%d", -1 * uid);
- if (ServiceExists(MS_MESSAGESTATE_UPDATE)) {
+ if (g_bMessageState) {
time_t tLastReadMessageTime = jnDlg["date"].as_int();
bool isOut = jnDlg["out"].as_bool();
bool isRead = jnDlg["read_state"].as_bool();