diff options
Diffstat (limited to 'protocols/VKontakte/src/vk_pollserver.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_pollserver.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_pollserver.cpp b/protocols/VKontakte/src/vk_pollserver.cpp index fa0617f874..84058a9dcf 100644 --- a/protocols/VKontakte/src/vk_pollserver.cpp +++ b/protocols/VKontakte/src/vk_pollserver.cpp @@ -95,6 +95,8 @@ void CVkProto::PollUpdates(const JSONNode &jnUpdates) SetSrmmReadStatus(hContact);
if (m_bUserForceOnlineOnActivity)
SetInvisible(hContact);
+ if (m_bSyncReadMessageStatusFromServer)
+ MarkDialogAsRead(hContact);
}
break;
@@ -126,6 +128,12 @@ void CVkProto::PollUpdates(const JSONNode &jnUpdates) SetInvisible(hContact);
}
break;
+ case VKPOLL_READ_ALL_IN:
+ uid = jnChild[1].as_int();
+ hContact = FindUser(uid);
+ if (hContact != NULL && m_bSyncReadMessageStatusFromServer)
+ MarkDialogAsRead(hContact);
+ break;
case VKPOLL_USR_ONLINE:
uid = -jnChild[1].as_int();
|