diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-10 15:13:38 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-10 15:13:38 +0000 |
commit | cf0e356099c0f5a76f0c879dd1a15747f7da760c (patch) | |
tree | 5c8680e3e79d5d8f279115690aeefa7596044c41 /protocols | |
parent | a08d7e2f8fcb78ab02331c19bd0d2864284ea1e0 (diff) |
VKontakte: fix ListeningTo for offline contacts
git-svn-id: http://svn.miranda-ng.org/main/trunk@12082 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 3b931859d7..a67b684c70 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -458,9 +458,10 @@ void CVkProto::OnReceiveUserInfo(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe LONG userID = getDword(hContact, "ID", -1);
if (userID == m_myUserId || userID == VK_FEED_USER)
continue;
- if (getWord(hContact, "Status", ID_STATUS_OFFLINE) != ID_STATUS_OFFLINE)
- setWord(hContact, "Status", ID_STATUS_OFFLINE);
+ if (getWord(hContact, "Status", ID_STATUS_OFFLINE) != ID_STATUS_OFFLINE)
+ setWord(hContact, "Status", ID_STATUS_OFFLINE);
SetMirVer(hContact, -1);
+ db_unset(hContact, m_szModuleName, "ListeningTo");
}
arContacts.destroy();
AddFeedSpecialUser();
|