diff options
Diffstat (limited to 'protocols/VKontakte/src/vk_messages.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_messages.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp index 26fd4c2ad2..f32d4b1f2a 100644 --- a/protocols/VKontakte/src/vk_messages.cpp +++ b/protocols/VKontakte/src/vk_messages.cpp @@ -83,6 +83,8 @@ int CVkProto::SendMsg(MCONTACT hContact, int, const char *szMsg) if (!IsEmpty(pszRetMsg))
SendMsg(hContact, 0, pszRetMsg);
+ else if (m_iStatus == ID_STATUS_INVISIBLE)
+ Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/account.setOffline.json", true, &CVkProto::OnReceiveSmth));
return uMsgId;
}
|