From f7c8dcce3a57295f55e8e570e55d463ca7910333 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 549a98795b..86f7e12bd4 100644 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -1031,6 +1031,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