xmpp: Stop proxying tokio-xmpp event in escape-hatch, add our own variants
This was causing issues with Clone-ing tokio-xmpp Event-s as they include Error-s which are typically not Clone-able. Event and Stanza aren't Clone-able either so might as well do our own stuff here. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
a635d0872e
commit
03c7310990
3 changed files with 23 additions and 5 deletions
|
|
@ -40,7 +40,7 @@ XXXX-YY-ZZ [ RELEASER <admin@localhost> ]
|
|||
- New 'escape-hatch' feature: Allow sending tokio_xmpp::Stanza directly
|
||||
instead of having to go through xmpp-rs' API when it's lacking. This
|
||||
is meant to stay behind a feature. Also allows directly receiving
|
||||
TokioXmppEvent.
|
||||
stanzas.
|
||||
- Added documentation on `Event` enum.
|
||||
* Fixes:
|
||||
- Use tokio::sync::RwLock not std::sync::RwLock (!432)
|
||||
|
|
|
|||
Loading…
Reference in a new issue