diff options
author | sss <sss@dark-alexandr.net> | 2021-02-15 04:25:21 +0300 |
---|---|---|
committer | sss <sss@dark-alexandr.net> | 2021-02-15 04:25:21 +0300 |
commit | 87809ac5ca3ce0cc74b12e7634ae75c9ff9eb344 (patch) | |
tree | 60a85cf096e7f7f3a9d23ea2b9a3a04bd7a39880 | |
parent | c2b4548382a2b6baaa882e886f1eeff0185c4b40 (diff) |
abber: xep-0384 v0.3: 4.3: add id attr into bundle item child
-rwxr-xr-x | protocols/JabberG/src/jabber_omemo.cpp | 2 |
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);
|