summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_omemo.cpp
diff options
context:
space:
mode:
authorsss <sss@dark-alexandr.net>2024-12-02 17:44:32 +0300
committersss <sss@dark-alexandr.net>2024-12-02 17:44:32 +0300
commit5d53d5b6aeedd733ce6184b5b3a59f91e44afc9a (patch)
tree630766429674afd0fd1ff269e1df1fa1e94e8b9a /protocols/JabberG/src/jabber_omemo.cpp
parentd63357b81e3cd3b9a54146d98222113d7a73cb59 (diff)
jabber: omemo: logic error fixHEADmaster
Diffstat (limited to 'protocols/JabberG/src/jabber_omemo.cpp')
-rw-r--r--protocols/JabberG/src/jabber_omemo.cpp4
1 files changed, 2 insertions, 2 deletions
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;