xmpp-parsers: Simplify StreamFeatures::sasl_mechanisms
This was already just a wrapper around a Vec<String>, but we can do away with the wrapper thanks to #[xml(extract)]. I’ve also replaced Vec with BTreeSet, since that corresponds better to how the mechanisms are.
This commit is contained in:
parent
0c6772aa7d
commit
ca6e04f931
3 changed files with 19 additions and 27 deletions
|
|
@ -9,6 +9,8 @@ XXXX-YY-ZZ RELEASER <admin@example.com>
|
|||
- The ibr::Query struct has been split into FieldsQuery, RemoveQuery,
|
||||
LegacyQuery and FormsQuery, to make it reflect more how it gets
|
||||
used in XMPP.
|
||||
- Remove the unnecessary SaslMechanisms struct, to directly extract
|
||||
SASL mechanisms in a Vec<String> in StreamFeatures.
|
||||
* Improvements:
|
||||
- Make Priority’s inner i8 pub, which had been broken since the
|
||||
conversion to xso. (!632)
|
||||
|
|
|
|||
Loading…
Reference in a new issue