summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_messages.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2023-12-12 08:16:21 +0500
committerElzorFox <elzorfox@ya.ru>2023-12-12 08:16:21 +0500
commit74e92c6e3d5f3fb6ffd0ce2af5bd460b0d323a90 (patch)
tree3d80419594bd3cb6a3d0cdcd05c1b6e585e8da16 /protocols/VKontakte/src/vk_messages.cpp
parent6607b3e491653046d492e9403b4edf669cd40ecb (diff)
VKontakte: 'reply' in message body on receive messages
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 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);