diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-04-11 07:42:36 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2016-04-11 07:42:36 +0000 |
commit | 11901e56c75d6d0cd73d1ee92504314bd6e1364a (patch) | |
tree | eefde0d93a8df04c40f81db6701cd715e2d6cc81 | |
parent | bee10e1391e35d6e920f894d7f9a3974d7654bb8 (diff) |
VKontakte: fix (?) false positive iviseble status on receive unread messages on miranda start
git-svn-id: http://svn.miranda-ng.org/main/trunk@16627 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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 8c764ba623..2512374383 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)
+ else if (m_vkOptions.bUserForceInvisibleOnActivity && time(NULL) - datetime < 60 * 10)
SetInvisible(hContact);
T2Utf pszBody(tszBody);
|