xmpp-parsers/bookmarks2: Bump XEP-0402 version in DOAP and ChangeLog.

This commit is contained in:
Emmanuel Gil Peyrot 2021-01-12 19:35:14 +01:00
parent dffaf482bf
commit 5d48386ade
3 changed files with 5 additions and 1 deletions

View file

@ -12,6 +12,8 @@ UNRELEASED Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
- Bump XEP-0167 to version 1.2.0, adding rtcp-mux. - Bump XEP-0167 to version 1.2.0, adding rtcp-mux.
- Bump XEP-0176 to version 1.1, fixing interoperability with other - Bump XEP-0176 to version 1.1, fixing interoperability with other
clients. clients.
- Bump XEP-0402 to version 1.1.1, bumping its namespace and adding
support for extension data.
- Bump all dependencies to their latest version. - Bump all dependencies to their latest version.
- Some more helper constructors. - Some more helper constructors.
- Make public some stuff that should have been public from the very - Make public some stuff that should have been public from the very

View file

@ -519,7 +519,7 @@
<xmpp:SupportedXep> <xmpp:SupportedXep>
<xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0402.html"/> <xmpp:xep rdf:resource="https://xmpp.org/extensions/xep-0402.html"/>
<xmpp:status>complete</xmpp:status> <xmpp:status>complete</xmpp:status>
<xmpp:version>0.3.0</xmpp:version> <xmpp:version>1.1.1</xmpp:version>
<xmpp:since>0.16.0</xmpp:since> <xmpp:since>0.16.0</xmpp:since>
</xmpp:SupportedXep> </xmpp:SupportedXep>
</implements> </implements>

View file

@ -77,6 +77,7 @@ impl TryFrom<Element> for Conference {
)); ));
} }
check_no_children!(child, "nick"); check_no_children!(child, "nick");
check_no_attributes!(child, "nick");
conference.nick = Some(child.text()); conference.nick = Some(child.text());
} else if child.is("password", ns::BOOKMARKS2) { } else if child.is("password", ns::BOOKMARKS2) {
if conference.password.is_some() { if conference.password.is_some() {
@ -85,6 +86,7 @@ impl TryFrom<Element> for Conference {
)); ));
} }
check_no_children!(child, "password"); check_no_children!(child, "password");
check_no_attributes!(child, "password");
conference.password = Some(child.text()); conference.password = Some(child.text());
} }
} }