diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-19 06:59:42 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-19 06:59:42 +0000 |
commit | ffeccf671b31c2f51c06959078c97a689b4144ad (patch) | |
tree | ea4841d91c3744c938c64618b32298e75816d7e5 /protocols/VKontakte/src/misc.cpp | |
parent | 07f500e694f0a7d813757212c24024bbbf8c0170 (diff) |
VKontakte: fix for clear MirVer on protocol offline
git-svn-id: http://svn.miranda-ng.org/main/trunk@12193 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index 7cb2638cf4..437bdfe664 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -232,8 +232,10 @@ void CVkProto::SetAllContactStatuses(int iStatus) else if (getWord(hContact, "Status", 0) != iStatus)
setWord(hContact, "Status", iStatus);
- if (iStatus == ID_STATUS_OFFLINE)
+ if (iStatus == ID_STATUS_OFFLINE) {
SetMirVer(hContact, -1);
+ db_unset(hContact, m_szModuleName, "ListeningTo");
+ }
}
}
|