diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-12-23 07:45:38 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-12-23 07:45:38 +0000 |
commit | 331d68975919584be948fb862316669cf2945d07 (patch) | |
tree | 07bc3f8adcbce06ae630feb6c7e62b4b0e422989 /protocols/VKontakte/src/vk_thread.cpp | |
parent | a57b972035bf2866fece4b832849d98e07485a98 (diff) |
VKontakte:
fix order loading news to chat windows
fix duplicate news
git-svn-id: http://svn.miranda-ng.org/main/trunk@11593 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 71990dd0a5..e92e85914d 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -677,7 +677,7 @@ void CVkProto::OnReceiveMessages(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe Sleep(100);
if (!CheckMid(mid)) {
ProtoChainRecvMsg(hContact, &recv);
- if (mid>getDword(hContact, "lastmsgid", -1))
+ if (mid > getDword(hContact, "lastmsgid", -1))
setDword(hContact, "lastmsgid", mid);
}
}
|