From 38e324d1c36f4f7f1c094de3ed15a41ca3616ea1 Mon Sep 17 00:00:00 2001 From: sss Date: Sun, 10 Nov 2024 20:36:40 +0300 Subject: jabber: mam messages always already read --- protocols/JabberG/src/jabber_thread.cpp | 1 + 1 file changed, 1 insertion(+) 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"); -- cgit v1.2.3