diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-10-01 03:04:14 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-10-01 03:04:14 +0000 |
commit | 5a711f8a20a86ec1519e6ea96cdd1f75b2d01d9e (patch) | |
tree | 59ae9fa3e2c89d4a32eac58e0d8b31c788a8f7db /protocols/VKontakte/src/vk_thread.cpp | |
parent | 5df6191d2ada9898dfb07658811011cc59509ef9 (diff) |
VKontakte:
refactoring SetMirVer
clear old MirVer on start proto
git-svn-id: http://svn.miranda-ng.org/main/trunk@10658 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 86d12c6547..d1f2152bfe 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -460,6 +460,7 @@ void CVkProto::OnReceiveFriends(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq for (MCONTACT hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)){
db_unset(hContact, m_szModuleName, "Auth");
db_unset(hContact, m_szModuleName, "ReqAuth");
+ SetMirVer(hContact, -1);
if (bCleanContacts&&!isChatRoom(hContact))
arContacts.insert((HANDLE)hContact);
}
|