summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorsss <sss@dark-alexandr.net>2024-11-10 20:36:40 +0300
committersss <sss@dark-alexandr.net>2024-12-02 17:14:31 +0300
commitf7c8dcce3a57295f55e8e570e55d463ca7910333 (patch)
tree44a8d3651a061490ac401f3eb0e689c8d294c5e5 /protocols/JabberG
parent2e8d9bb89f0a7adc5a17d46e0296998703f72553 (diff)
jabber: mam messages always already read
Diffstat (limited to 'protocols/JabberG')
-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 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");