diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-04-11 09:20:30 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-04-11 09:20:30 +0000 |
commit | d521ff95386fec089ad9bb307856f0d62be082e4 (patch) | |
tree | 96b556b654244b60b8484db94cbac6e46d219948 /protocols/VKontakte/src/vk_messages.cpp | |
parent | 11901e56c75d6d0cd73d1ee92504314bd6e1364a (diff) |
VKontakte: small fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16628 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_messages.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp index 2512374383..f5a6726bc0 100644 --- a/protocols/VKontakte/src/vk_messages.cpp +++ b/protocols/VKontakte/src/vk_messages.cpp @@ -290,7 +290,7 @@ void CVkProto::OnReceiveMessages(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe recv.flags |= PREF_CREATEREAD;
if (isOut)
recv.flags |= PREF_SENT;
- else if (m_vkOptions.bUserForceInvisibleOnActivity && time(NULL) - datetime < 60 * 10)
+ else if (m_vkOptions.bUserForceInvisibleOnActivity && time(NULL) - datetime < 60 * m_vkOptions.iInvisibleInterval)
SetInvisible(hContact);
T2Utf pszBody(tszBody);
|