From 5d53d5b6aeedd733ce6184b5b3a59f91e44afc9a Mon Sep 17 00:00:00 2001 From: sss Date: Mon, 2 Dec 2024 17:44:32 +0300 Subject: jabber: omemo: logic error fix --- protocols/JabberG/src/jabber_omemo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols') diff --git a/protocols/JabberG/src/jabber_omemo.cpp b/protocols/JabberG/src/jabber_omemo.cpp index b28f32ccb0..9f63be7340 100644 --- a/protocols/JabberG/src/jabber_omemo.cpp +++ b/protocols/JabberG/src/jabber_omemo.cpp @@ -1422,9 +1422,9 @@ bool CJabberProto::OmemoHandleMessage(XmppMsg *msg, const TiXmlElement *node, co msg->szMessage = result; if (trusted) - msg->dbei.flags = DBEF_STRONG; + msg->dbei.flags |= DBEF_STRONG; if (isCarbon) - msg->dbei.flags = DBEF_SENT; + msg->dbei.flags |= DBEF_SENT; } return true; -- cgit v1.2.3