summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorsss <sss@dark-alexandr.net>2024-11-10 20:36:40 +0300
committersss <sss@dark-alexandr.net>2024-11-10 20:37:12 +0300
commit38e324d1c36f4f7f1c094de3ed15a41ca3616ea1 (patch)
tree52b280c7764a1b680877126302e9056604d0b012 /protocols/JabberG/src
parent68a1d851a4a661dbadd98cb87f88593ad06d1ee9 (diff)
jabber: mam messages always already readxmpp_message_handling_refactoring
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_thread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 08b3329db8..05cc8592df 100644
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -1039,6 +1039,7 @@ time_t CJabberProto::XmppMsg::extract_timestamp()
}
void CJabberProto::XmppMsg::handle_mam()
{
+ dbei.flags |= DBEF_READ;
if (auto* mamResult = XmlGetChildByTag(node, "result", "xmlns", JABBER_FEAT_MAM)) {
szMamMsgId = XmlGetAttr(mamResult, "id");