summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-09-22 12:14:29 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-09-22 12:14:29 +0000
commite628b545ebb369078abb58b5a2b991321dddcdc5 (patch)
tree969ad8da77c6b3ce6ba74a878a2964b8b8403bf2 /protocols
parentca1562ad51acda18f36e2602a94483e33ff445b3 (diff)
VKontakte: ooops
git-svn-id: http://svn.miranda-ng.org/main/trunk@10555 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/VKontakte/src/vk_thread.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp
index dc258cdb89..3259b53eca 100644
--- a/protocols/VKontakte/src/vk_thread.cpp
+++ b/protocols/VKontakte/src/vk_thread.cpp
@@ -359,8 +359,6 @@ void CVkProto::OnReceiveUserInfo(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe
szValue = json_as_string(json_get(pRecord, "domain"));
if (szValue && *szValue)
setTString(hContact, "domain", szValue);
-
-
}
}
@@ -779,8 +777,7 @@ void CVkProto::OnReceivePollingInfo(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *
void CVkProto::RetrieveStatusMsg(const CMString &StatusMsg)
{
debugLogA("CVkProto::RetrieveStatusMsg");
- if (!IsOnline())
- return;
+
Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/status.set.json", true, &CVkProto::OnReceiveSmth)
<< TCHAR_PARAM("text", StatusMsg)
<< VER_API);