From e628b545ebb369078abb58b5a2b991321dddcdc5 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Mon, 22 Sep 2014 12:14:29 +0000 Subject: VKontakte: ooops git-svn-id: http://svn.miranda-ng.org/main/trunk@10555 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_thread.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'protocols') 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); -- cgit v1.2.3