jid: Add a failible DomainRef::with_node_str()
This matches BareJid::with_resource_str() in that it allows the user to parse a &str into a NodePart and construct the BareJid in one call.
This commit is contained in:
parent
e72394c658
commit
393feb8d5e
2 changed files with 13 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
Version NEXT, release XXXX-XX-XX:
|
||||
* Changes:
|
||||
- Add a `DomainRef::with_node_str()` method, matching `with_resource_str()`
|
||||
but for `with_node()`.
|
||||
|
||||
Version 0.12.2, release 2025-02-26:
|
||||
* Changes:
|
||||
- Add a `NodeRef::unescape()` method, to implement XEP-0106 escaping.
|
||||
|
|
|
|||
Loading…
Reference in a new issue