summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_messages.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2023-01-26 00:18:31 +0500
committerElzorFox <elzorfox@ya.ru>2023-01-26 00:18:31 +0500
commit0094c35e02ac15a18d09672fb2b845d406e2d5bb (patch)
treefbfeef127fa0348e9bb573b92ab9fd85d9cfaf90 /protocols/VKontakte/src/vk_messages.cpp
parenta91575c88ccd4e639e108a4f6e1d8719107826d6 (diff)
VKontakte: groupchat fix
Diffstat (limited to 'protocols/VKontakte/src/vk_messages.cpp')
-rw-r--r--protocols/VKontakte/src/vk_messages.cpp2
1 files changed, 1 insertions, 1 deletions
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)