From 74e92c6e3d5f3fb6ffd0ce2af5bd460b0d323a90 Mon Sep 17 00:00:00 2001 From: ElzorFox Date: Tue, 12 Dec 2023 08:16:21 +0500 Subject: VKontakte: 'reply' in message body on receive messages --- protocols/VKontakte/src/vk_messages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/VKontakte') diff --git a/protocols/VKontakte/src/vk_messages.cpp b/protocols/VKontakte/src/vk_messages.cpp index 3f7f50a051..0a2f28db83 100644 --- a/protocols/VKontakte/src/vk_messages.cpp +++ b/protocols/VKontakte/src/vk_messages.cpp @@ -462,7 +462,7 @@ void CVkProto::OnReceiveMessages(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pRe debugLogA("CVkProto::OnReceiveMessages mid = %d, datetime = %d, isOut = %d, isRead = %d, iUserId = %d, Edited = %d", iMessageId, tDateTime, isOut, isRead, iUserId, (int)bEdited); - if (!IsMessageExist(iMessageId, vkALL) || bEdited) { + if (!IsMessageExist(iMessageId, vkALL) || bEdited || (m_vkOptions.bShowReplyInMessage && szReplyId)) { debugLogA("CVkProto::OnReceiveMessages new or edited message"); recv.szMsgId = szMid; ProtoChainRecvMsg(hContact, &recv); -- cgit v1.2.3