diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-12-15 08:43:06 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-12-15 08:43:06 +0000 |
commit | 8f6de9cc591e1ab1084f8685e99c49bad0b0f42c (patch) | |
tree | ed402c277897bfcb74a9a7cc998135ee753ce4e5 /protocols/VKontakte/src/misc.cpp | |
parent | 14f6e6ff188b5a93aebde055751acf45ea51edeb (diff) |
VKontakte: fix for freeze MirVer for offline contacts
git-svn-id: http://svn.miranda-ng.org/main/trunk@11432 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index 31124b26b3..eba3462555 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -32,6 +32,9 @@ void CVkProto::SetAllContactStatuses(int iStatus) SetChatStatus(hContact, iStatus);
else if (getWord(hContact, "Status", 0) != iStatus)
setWord(hContact, "Status", iStatus);
+
+ if (iStatus == ID_STATUS_OFFLINE)
+ SetMirVer(hContact, -1);
}
}
|