@@ -39,7 +39,8 @@ XXXX-YY-ZZ [ RELEASER <admin@localhost> ]
hibernating resources around.
- 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.
+ is meant to stay behind a feature. Also allows directly receiving
+ TokioXmppEvent.
- Added documentation on `Event` enum.
* Fixes:
- Use tokio::sync::RwLock not std::sync::RwLock (!432)
@@ -112,4 +112,6 @@ pub enum Event {
ServiceMessage(Option<MessageId>, BareJid, String, StanzaTimeInfo),
/// A file has been uploaded over HTTP; contains the URL of the file.
HttpUploadedFile(String),
+ #[cfg(feature = "escape-hatch")]
+ TokioXmppEvent(TokioXmppEvent),
}