diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-12 16:12:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-12 16:12:41 +0000 |
commit | e43a6cf4dda70ba49757dcb9e1e476857ed9fb10 (patch) | |
tree | 7ab002f0231614199769debf52860fce74aea40e /protocols/VKontakte | |
parent | 027bb1a89d1d21ac1465d3d40ed5ae5b7bfcd3cb (diff) |
don't blink in chats on messages from history
git-svn-id: http://svn.miranda-ng.org/main/trunk@7618 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r-- | protocols/VKontakte/src/vk_chats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_chats.cpp b/protocols/VKontakte/src/vk_chats.cpp index 6ffca96a32..73974134dc 100644 --- a/protocols/VKontakte/src/vk_chats.cpp +++ b/protocols/VKontakte/src/vk_chats.cpp @@ -192,6 +192,7 @@ void CVkProto::OnReceiveChatInfo(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe JSONNODE *msgs = json_as_array(json_get(pResponse, "msgs"));
if (msgs != NULL) {
+ cc->m_bHistoryRead = true;
for (int i = 1;; i++) {
JSONNODE *pMsg = json_at(msgs, i);
if (pMsg == NULL)
@@ -199,7 +200,6 @@ void CVkProto::OnReceiveChatInfo(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe AppendChatMessage(cc->m_chatid, pMsg, true);
}
- cc->m_bHistoryRead = true;
}
for (int j = 0; j < cc->m_msgs.getCount(); j++) {
|