From 0094c35e02ac15a18d09672fb2b845d406e2d5bb Mon Sep 17 00:00:00 2001 From: ElzorFox Date: Thu, 26 Jan 2023 00:18:31 +0500 Subject: VKontakte: groupchat fix --- protocols/VKontakte/src/vk_messages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/VKontakte/src/vk_messages.cpp') diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp index 7bec7a13fd..2fde56a1d3 100644 --- a/protocols/VKontakte/src/vk_messages.cpp +++ b/protocols/VKontakte/src/vk_messages.cpp @@ -164,7 +164,7 @@ void CVkProto::MarkMessagesRead(const MCONTACT hContact) return; LONG userID = getDword(hContact, "ID", VK_INVALID_USER); - if (userID == VK_INVALID_USER || userID == VK_FEED_USER) + if (userID == VK_INVALID_USER || userID == VK_FEED_USER || isChatRoom(hContact)) return; Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/messages.markAsRead.json", true, &CVkProto::OnReceiveSmth, AsyncHttpRequest::rpLow) -- cgit v1.2.3