summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r--protocols/VKontakte/src/misc.cpp4
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");
+ }
}
}