diff options
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 72b26f8e61..e29e372bd0 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -340,6 +340,8 @@ void CVkProto::OnReceiveUserInfo(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe else if (_tcscmp(tszOldStatus, szValue))
db_set_ts(hContact, "CList", "StatusMsg", szValue);
}
+ else
+ db_set_ts(hContact, "CList", "StatusMsg", _T(""));
szValue = json_as_string(json_get(pRecord, "about"));
if (szValue && *szValue)
@@ -438,6 +440,8 @@ void CVkProto::OnReceiveFriends(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq else if (_tcscmp(tszOldStatus, szValue))
db_set_ts(hContact, "CList", "StatusMsg", szValue);
}
+ else
+ db_set_ts(hContact, "CList", "StatusMsg", _T(""));
szValue = json_as_string(json_get(pInfo, "about"));
if (szValue && *szValue)
|