From 24a161c41edfebcc4850bd58480649ff2ddf8d7f Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Tue, 9 Sep 2014 10:45:10 +0000 Subject: 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 --- protocols/VKontakte/src/vk_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/VKontakte/src/vk_thread.cpp') 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) { -- cgit v1.2.3