diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-09-22 09:30:48 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-09-22 09:30:48 +0000 |
commit | 5a5a0265a25e063ae560adbf83042e01d0ce1941 (patch) | |
tree | f6c3782d2b911a36f0b8abe71d19a68b38e99edb /protocols/VKontakte/src/vk_messages.cpp | |
parent | 3bbcdbe69ab3e2c084eb1e863315718c9c7b2aa1 (diff) |
VKontakte:
hidden option for full load clist
support for sync message read status from server
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@15421 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_messages.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_messages.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp index 3e22601291..ae096560d0 100644 --- a/protocols/VKontakte/src/vk_messages.cpp +++ b/protocols/VKontakte/src/vk_messages.cpp @@ -278,7 +278,8 @@ void CVkProto::OnReceiveMessages(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe }
PROTORECVEVENT recv = { 0 };
- if (isRead && !m_bMesAsUnread)
+ bool bUseServerReadFlag = m_bSyncReadMessageStatusFromServer ? true : !m_bMesAsUnread;
+ if (isRead && bUseServerReadFlag)
recv.flags |= PREF_CREATEREAD;
if (isOut)
recv.flags |= PREF_SENT;
|