diff options
author | ElzorFox <elzorfox@ya.ru> | 2017-05-02 16:18:13 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2017-05-02 16:18:13 +0500 |
commit | 3ed955cfabef8c45121fd39d2c0fc72727ac415a (patch) | |
tree | c97cff5a1383b2122fd9b2c841be5bb98959fe5e /protocols | |
parent | c4581462777ec3faf67e0075762c37648a5051b3 (diff) |
VKontakte: fix invisible status on miranda start
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/VKontakte/src/vk_status.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_status.cpp b/protocols/VKontakte/src/vk_status.cpp index 4dcb8168ed..110601ee8a 100644 --- a/protocols/VKontakte/src/vk_status.cpp +++ b/protocols/VKontakte/src/vk_status.cpp @@ -97,8 +97,7 @@ void CVkProto::SetServerStatus(int iNewStatus) m_bSetBroadcast = false;
}
m_iStatus = ID_STATUS_INVISIBLE;
- if (iOldStatus == ID_STATUS_ONLINE)
- Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/account.setOffline.json", true, &CVkProto::OnReceiveSmth));
+ Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/account.setOffline.json", true, &CVkProto::OnReceiveSmth));
}
ProtoBroadcastAck(NULL, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)iOldStatus, m_iStatus);
|