summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsss <sss@dark-alexandr.net>2021-02-15 04:25:21 +0300
committersss <sss@dark-alexandr.net>2021-02-15 04:25:21 +0300
commit87809ac5ca3ce0cc74b12e7634ae75c9ff9eb344 (patch)
tree60a85cf096e7f7f3a9d23ea2b9a3a04bd7a39880
parentc2b4548382a2b6baaa882e886f1eeff0185c4b40 (diff)
abber: xep-0384 v0.3: 4.3: add id attr into bundle item child
-rwxr-xr-xprotocols/JabberG/src/jabber_omemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_omemo.cpp b/protocols/JabberG/src/jabber_omemo.cpp
index 160c50936c..6fae663ef3 100755
--- a/protocols/JabberG/src/jabber_omemo.cpp
+++ b/protocols/JabberG/src/jabber_omemo.cpp
@@ -1851,7 +1851,7 @@ void CJabberProto::OmemoSendBundle()
mir_snprintf(attr_val, "%s.bundles:%u", JABBER_FEAT_OMEMO, own_id);
publish_node << XATTR("node", attr_val);
}
- TiXmlElement *bundle_node = publish_node << XCHILD("item") << XCHILDNS("bundle", JABBER_FEAT_OMEMO);
+ TiXmlElement *bundle_node = publish_node << XCHILD("item") << XATTR("id", "current") << XCHILDNS("bundle", JABBER_FEAT_OMEMO);
// add signed pre key public
bundle_node << XCHILD("signedPreKeyPublic", ptrA(getUStringA("OmemoSignedPreKeyPublic"))) << XATTRI("signedPreKeyId", 1);