summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_thread.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-09-09 10:45:10 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-09-09 10:45:10 +0000
commit24a161c41edfebcc4850bd58480649ff2ddf8d7f (patch)
tree6793c7a8dc85b8c9bb8cc7c5ce8cc4683d6c1709 /protocols/VKontakte/src/vk_thread.cpp
parent199bf2fee8e9f3844744288a8dde5d2dbc5ff55f (diff)
VKontakte: fix for 'To many MarkAsRead', redesign PARAM structure
git-svn-id: http://svn.miranda-ng.org/main/trunk@10410 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r--protocols/VKontakte/src/vk_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp
index a8717339c6..0d7761fa1d 100644
--- a/protocols/VKontakte/src/vk_thread.cpp
+++ b/protocols/VKontakte/src/vk_thread.cpp
@@ -529,7 +529,7 @@ void CVkProto::OnReceiveDlgs(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq)
else
GetHistoryDlg(hContact, mid);
- if (!m_bMarkReadOnReply)
+ if (!m_bMarkReadOnReply&&numUnread)
MarkMessagesRead(hContact);
}
else if (numUnread) {